You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user