Skip to content

Commit

Permalink
input should not be: autocapitalized, autocorrected & spellchecked
Browse files Browse the repository at this point in the history
  • Loading branch information
yairEO committed Jun 22, 2024
1 parent 1c8d2f4 commit a94f033
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/parts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@ export default {
return `<span ${!_s.readonly && _s.userInput ? 'contenteditable' : ''} tabIndex="0" data-placeholder="${placeholder}" aria-placeholder="${_s.placeholder || ''}"
class="${_s.classNames.input}"
role="textbox"
autocapitalize="false"
autocorrect="off"
spellcheck="false"
aria-autocomplete="both"
aria-multiline="${_s.mode=='mix'?true:false}"></span>`
},

tag(tagData, {settings: _s}){
return `<tag title="${(tagData.title || tagData.value)}"
contenteditable='false'
autocapitalize="false"
autocorrect="off"
spellcheck='false'
tabIndex="${_s.a11y.focusableTags ? 0 : -1}"
class="${_s.classNames.tag} ${tagData.class || ""}"
Expand Down

0 comments on commit a94f033

Please sign in to comment.