mirror of https://github.com/vector-im/riot-web
Fix React complaining about unknown DOM props
parent
0fd9b55b95
commit
1afece9a14
|
@ -216,7 +216,8 @@ export default class Field extends React.PureComponent<PropShapes, IState> {
|
||||||
public render() {
|
public render() {
|
||||||
/* eslint @typescript-eslint/no-unused-vars: ["error", { "ignoreRestSiblings": true }] */
|
/* eslint @typescript-eslint/no-unused-vars: ["error", { "ignoreRestSiblings": true }] */
|
||||||
const { element, prefixComponent, postfixComponent, className, onValidate, children,
|
const { element, prefixComponent, postfixComponent, className, onValidate, children,
|
||||||
tooltipContent, forceValidity, tooltipClassName, list, ...inputProps} = this.props;
|
tooltipContent, forceValidity, tooltipClassName, list, validateOnBlur, validateOnChange, validateOnFocus,
|
||||||
|
...inputProps} = this.props;
|
||||||
|
|
||||||
// Set some defaults for the <input> element
|
// Set some defaults for the <input> element
|
||||||
const ref = input => this.input = input;
|
const ref = input => this.input = input;
|
||||||
|
|
Loading…
Reference in New Issue