mirror of https://github.com/vector-im/riot-web
parent
27504e1578
commit
e2f013ddb4
|
@ -140,9 +140,8 @@ export default class Field extends React.PureComponent {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
element, prefix, onValidate, children, tooltipContent,
|
element, prefix, onValidate, children, tooltipContent, flagInvalid,
|
||||||
flagInvalid, ...inputProps,
|
...inputProps} = this.props;
|
||||||
} = this.props;
|
|
||||||
|
|
||||||
const inputElement = element || "input";
|
const inputElement = element || "input";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue