Disable spell checking on <input>'s

This commit is contained in:
orangemug
2018-05-17 11:43:25 +01:00
parent fc0fbd6a37
commit 51a115d65a
4 changed files with 5 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ class StringInput extends React.Component {
return React.createElement(tag, {
"data-wd-key": this.props["data-wd-key"],
spellCheck: !(tag === "input"),
className: classes.join(" "),
style: this.props.style,
value: this.state.value,