diff --git a/web/app/components/input/input.jsx b/web/app/components/input/input.jsx index 402d41f6..babb5a9b 100644 --- a/web/app/components/input/input.jsx +++ b/web/app/components/input/input.jsx @@ -51,11 +51,12 @@ export default class Input extends Component { this.fieldNode.value = ''; } - shouldComponentUpdate(nextProps) { + shouldComponentUpdate(nextProps, nextState) { return nextProps.id !== this.props.id || nextProps.pid !== this.props.pid || nextProps.value !== this.props.value - || nextProps.errorMessage !== this.props.errorMessage; + || nextProps.errorMessage !== this.props.errorMessage + || nextState !== this.state; } onKeyDown(e) {