Quasar: [request] An input mask for Quasar

Created on 22 Jun 2017  路  2Comments  路  Source: quasarframework/quasar

Hello!

I'm trying to use an plugin for input mask v-mask in Quasar 0.14 Beta.

But, using with the component q-input, the mask not work.
What i need to do for fix this is create an normal input and hide.

If possible Quasar has some kind of mask plugin natively or an sugested plugin like vuelidate ?

Thanks @rstoenescu for these amazing framework.

Most helpful comment

Hi,

Yes, such feature will be added.
Closing this as it's a duplicate of https://github.com/quasarframework/quasar/issues/462

-Razvan.

All 2 comments

The q-input component has a pattern prop, which isn't documented (yet), as it only currently checks for numbers. That would be the start to an input mask functionality and I believe that is the plan to have at some point.

Other than that, there is nothing to stop you from using v-model and placeholder to build your own.

If you want validation, vuelidate is recommended to use with Quasar.

Also, please use the forum or the chat for questions. Once you get an answer and know it's something to be suggested, then we would love it here as a suggestion. Thanks for your understanding! 馃槃

Scott

Hi,

Yes, such feature will be added.
Closing this as it's a duplicate of https://github.com/quasarframework/quasar/issues/462

-Razvan.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukadriel7 picture lukadriel7  路  3Comments

fnicollier picture fnicollier  路  3Comments

Bangood picture Bangood  路  3Comments

nueko picture nueko  路  3Comments

wc-matteo picture wc-matteo  路  3Comments