From 51a115d65adf7dd844a1e564adb8b485eb394448 Mon Sep 17 00:00:00 2001 From: orangemug Date: Thu, 17 May 2018 11:43:25 +0100 Subject: [PATCH] Disable spell checking on 's --- src/components/fields/ColorField.jsx | 1 + src/components/inputs/AutocompleteInput.jsx | 3 ++- src/components/inputs/NumberInput.jsx | 1 + src/components/inputs/StringInput.jsx | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/fields/ColorField.jsx b/src/components/fields/ColorField.jsx index 25b1670a..6e538c97 100644 --- a/src/components/fields/ColorField.jsx +++ b/src/components/fields/ColorField.jsx @@ -105,6 +105,7 @@ class ColorField extends React.Component { {this.state.pickerOpened && picker}
this.colorInput = input} onClick={this.togglePicker.bind(this)} diff --git a/src/components/inputs/AutocompleteInput.jsx b/src/components/inputs/AutocompleteInput.jsx index a633e60d..d33bdbd8 100644 --- a/src/components/inputs/AutocompleteInput.jsx +++ b/src/components/inputs/AutocompleteInput.jsx @@ -63,7 +63,8 @@ class AutocompleteInput extends React.Component { style: null }} inputProps={{ - className: "maputnik-string" + className: "maputnik-string", + spellCheck: false }} value={this.props.value} items={this.props.options} diff --git a/src/components/inputs/NumberInput.jsx b/src/components/inputs/NumberInput.jsx index f4f3ebec..447fab80 100644 --- a/src/components/inputs/NumberInput.jsx +++ b/src/components/inputs/NumberInput.jsx @@ -67,6 +67,7 @@ class NumberInput extends React.Component { render() { return