Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
Removed unecessary quotes on input id
Browse files Browse the repository at this point in the history
  • Loading branch information
jgruica committed Apr 23, 2019
1 parent f86bd4c commit c20dc08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/init/src/components/config_render/FileInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ export default class FileInput extends React.Component {
type="file"
name={this.props.name}
className="inputfile"
id={`${this.props.name} "selector"`}
id={`${this.props.name} selector`}
onChange={this.handleOnChange}
readOnly={this.props.readOnly}
multiple={true}
disabled={this.props.disabled}
/>
<label htmlFor={`${this.props.name} "selector"`} className="u-position--relative">
<label htmlFor={`${this.props.name} selector`} className="u-position--relative">
<span className={`icon clickable ${this.state.fileAdded ? "u-smallCheckGreen" : "u-ovalIcon"} u-marginRight--normal u-top--3`}></span>
{this.state.fileAdded ? `${this.props.title} file selected` : `Browse files for ${this.props.title}`}
</label>
Expand Down

0 comments on commit c20dc08

Please sign in to comment.