Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow specifying Spellcheck and friends to UiTextbox #398

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

bgschiller
Copy link

spellcheck
autocomplete
autocapitalize

@JosephusPaye
Copy link
Owner

Hi @bgschiller,

Thanks for the pull.

Changes like this which add new props to be forwarded to the <input> element are probably best implemented using the new $attrs and $listeners properties that were introduced in Vue 2.4.0.

Using those two, any attributes on <ui-textbox> which are not known props can be applied on the inner <input> element as attributes.

If you can, please update your PR to use those.

@bgschiller
Copy link
Author

Hi @JosephusPaye,

I was wondering if there was a better way to handle this. I'll read up on those new properties and update my PR.

Thanks,
-Brian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants