Ability to set custom attributes
sheerun opened this issue · comments
Adam Stankiewicz commented
I'd like to set following attributes so all spellcheck etc. features are disabled for input:
autocorrect: 'off',
autocomplete: 'off',
autocapitalize: 'off',
spellcheck: false
Unfortunately these cannot be set as styles but attributes of input. Is it possible? Could you please add this feature?
Mwni commented
The native html text input is exposed via yourInput.htmlInput
you can apply all special properties via
yourInput.htmlInput.setAttribute('autocorrect', 'off')
Adam Stankiewicz commented
ok thank you!