Mwni / pixi-text-input

Plugin for pixi.js which provides a convenient way of adding a text input to the pixijs-stage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to set custom attributes

sheerun opened this issue · comments

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?

commented

The native html text input is exposed via yourInput.htmlInput
you can apply all special properties via
yourInput.htmlInput.setAttribute('autocorrect', 'off')

ok thank you!