Remove unused ref from Field component
The `fieldInput` ref is no longer used now that we have controlled components everywhere.
This commit is contained in:
parent
a803af3a88
commit
37ecf2a623
1 changed files with 0 additions and 1 deletions
|
@ -74,7 +74,6 @@ export default class Field extends React.PureComponent {
|
|||
|
||||
// Set some defaults for the <input> element
|
||||
inputProps.type = inputProps.type || "text";
|
||||
inputProps.ref = "fieldInput";
|
||||
inputProps.placeholder = inputProps.placeholder || inputProps.label;
|
||||
|
||||
inputProps.onChange = this.onChange;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue