ember-rapid-forms icon indicating copy to clipboard operation
ember-rapid-forms copied to clipboard

Masking support

Open jzisser9 opened this issue 8 years ago • 1 comments

Are any plans to support masking for inputs underway yet? I submitted another issue a few weeks ago involving pre-loading dates into date-type input elements and began working on a fix, but I've recently come across some use cases where the ability to apply a mask to an input would be desirable, and I began thinking it might even solve the issue of being unable to pre-load a date to an input.

If nothing has been done yet I'd be happy to cut a branch and start looking into it.

jzisser9 avatar Feb 09 '18 21:02 jzisser9

There is nothing planned yet but I could be great. I'm not sure how it should works but this solution seems to be good : https://github.com/estelle/input-masking so we will have something like

{{em-input ... pattern="\w\d\w \d\w\d"}}

It looks good an It would be nice to have this feature in Ember Rapid Forms so if you want to contribute, It would be great!

GCorbel avatar Feb 10 '18 20:02 GCorbel