#12 - disabling spelleck on search input

This commit is contained in:
Simon Cambier
2022-04-14 17:54:47 +02:00
parent f17e48e838
commit a57582a389

View File

@@ -84,6 +84,7 @@ export class OmnisearchModal extends SuggestModal<ResultNote> {
this.inputEl.value = this.plugin.lastSearch this.inputEl.value = this.plugin.lastSearch
this.inputEl.dispatchEvent(event) this.inputEl.dispatchEvent(event)
this.inputEl.select() this.inputEl.select()
this.inputEl.spellcheck = false
} }
this.inputEl.onkeydown = this.onKeydown.bind(this) this.inputEl.onkeydown = this.onKeydown.bind(this)