pull/21833/head
David Baker 2019-08-09 18:59:57 +01:00
parent c76514fceb
commit 4075cdde7f
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ export default class Field extends React.PureComponent {
render() {
const { element, prefix, onValidate, children, tooltip, ...inputProps } = this.props;
!tooltip; // needs to be removed from props but we don't need it here, so otherwise unused variable
const inputElement = element || "input";