Skip to content

Commit c0593fa

Browse files
authored
Merge pull request #22 from ModusCreateOrg/form-validation-5
Deleted commented lines
2 parents a0dc463 + a436623 commit c0593fa

File tree

1 file changed

+0
-4
lines changed
  • 13-form-validation/a-validation/src

1 file changed

+0
-4
lines changed

13-form-validation/a-validation/src/Field.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,17 @@ class Field extends Component {
1515

1616
render () {
1717
const {
18-
// name,
19-
// id = name,
2018
label,
2119
onChange
2220
} = this.props;
2321
const { value, invalidMsg } = this.state;
2422
const inputProps = {
2523
...this.props,
26-
//id,
2724
value,
2825
onChange: (e) => this.handleChange(e, onChange)
2926
};
3027
return (
3128
<div className="pure-control-group">
32-
{/* <label htmlFor={id}>{label} */}
3329
<label>{label}
3430
<input {...inputProps} style={{minWidth: '200px'}} />
3531
{

0 commit comments

Comments
 (0)