Skip to content

Commit

Permalink
[Rahul] | BAH-4131 | Fix. Remove unused name attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
rahu1ramesh committed Dec 9, 2024
1 parent 8670390 commit 3dcabe1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/components/Button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export class Button extends Component {
disabled={!this.props.enabled}
id={option[this.props.nameKey]}
key={index}
name={this.props.conceptUuid}
onClick={() => this.changeValue(option)}
title={option[this.props.nameKey]}
>
Expand Down
2 changes: 0 additions & 2 deletions src/components/NumericBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export class NumericBox extends Component {
{ 'form-builder-warning': this.state.hasWarnings }) }
disabled={ !this.props.enabled }
id={conceptUuid}
name={conceptUuid}
onChange={ (e) => this.handleChange(e) }
ref={(elem) => {
this.input = elem;
Expand All @@ -131,7 +130,6 @@ export class NumericBox extends Component {
'computed-value': this.isComputed() }) }
disabled={ !this.props.enabled }
id={conceptUuid}
name={conceptUuid}
onChange={ (e) => this.handleChange(e) }
ref={(elem) => {
this.input = elem;
Expand Down
1 change: 0 additions & 1 deletion src/components/TextBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export class TextBox extends Component {
className={classNames({ 'form-builder-error': this.state.hasErrors })}
disabled={!this.props.enabled}
id={this.props.conceptUuid}
name={this.props.conceptUuid}
onChange={(e) => this.handleChange(e)}
value={defaultValue}
/>
Expand Down

0 comments on commit 3dcabe1

Please sign in to comment.