diff --git a/src/renderer/components/ft-input/ft-input.js b/src/renderer/components/ft-input/ft-input.js index 82c04562..e7e9608f 100644 --- a/src/renderer/components/ft-input/ft-input.js +++ b/src/renderer/components/ft-input/ft-input.js @@ -35,6 +35,10 @@ export default Vue.extend({ type: Boolean, default: false }, + spellcheck: { + type: Boolean, + default: true + }, dataList: { type: Array, default: () => { return [] } diff --git a/src/renderer/components/ft-input/ft-input.vue b/src/renderer/components/ft-input/ft-input.vue index fd6e1f28..19471a07 100644 --- a/src/renderer/components/ft-input/ft-input.vue +++ b/src/renderer/components/ft-input/ft-input.vue @@ -26,6 +26,7 @@ type="text" :placeholder="placeholder" :disabled="disabled" + :spellcheck="spellcheck" @input="e => handleInput(e.target.value)" @focus="handleFocus" @blur="handleInputBlur" diff --git a/src/renderer/components/top-nav/top-nav.vue b/src/renderer/components/top-nav/top-nav.vue index 8e131b7d..efdd22f9 100644 --- a/src/renderer/components/top-nav/top-nav.vue +++ b/src/renderer/components/top-nav/top-nav.vue @@ -61,6 +61,7 @@ :is-search="true" :select-on-focus="true" :data-list="searchSuggestionsDataList" + :spellcheck="false" @input="getSearchSuggestionsDebounce" @click="goToSearch" />