diff --git a/src/Form/FieldInput.js b/src/Form/FieldInput.js index 9d5104c57..dfa7778b4 100644 --- a/src/Form/FieldInput.js +++ b/src/Form/FieldInput.js @@ -66,7 +66,11 @@ class FieldInput extends Util.mixin(BindMixin) { props.handleSubmit(); } - ReactDOM.findDOMNode(this.inputElementRef.current).blur(); + const inputNode = ReactDOM.findDOMNode(this.inputElementRef.current); + + if (inputNode) { + inputNode.blur(); + } } }