Avoid unwanted spellcheck squiggly lines in input fields
authorGreg Hurrell <greg@hurrell.net>
Wed, 31 May 2017 15:05:48 +0000 (08:05 -0700)
committerGreg Hurrell <greg@hurrell.net>
Wed, 31 May 2017 15:05:48 +0000 (08:05 -0700)
src/Field.react.js

index f8314ab7ca395fdffecb9c88822cbff90d23c2ec..a7c2e94c37ee7e86fe13ff9416974faa28f8022a 100644 (file)
@@ -126,6 +126,7 @@ export default class Field extends React.Component {
         <input
           onChange={this._onChange}
           ref={ref => this._input = ref}
+          spellcheck="false"
           type="text"
           value={fromValue(this.props.value, this.props.base)}
         />