redux-form-input-masks icon indicating copy to clipboard operation
redux-form-input-masks copied to clipboard

Add reverse attribute

Open wweellddeerr opened this issue 6 years ago • 4 comments

  • [ X ] Feature request

Hello Renato, it is possible to add the reverse attribute like in jquery mask plugin?

https://igorescobar.github.io/jQuery-Mask-Plugin/docs.html

wweellddeerr avatar Jul 23 '18 17:07 wweellddeerr

Hey @wweellddeerr. The documentation for this mask plugin doesn't really explain what the reverse attribute does, and I've found no examples of it too. Could you explain a little more what is this reverse all about? Or maybe share an example, codesandbox, etc.?

Thanks!

renato-bohler avatar Jul 24 '18 01:07 renato-bohler

Hi @renato-bohler, thank you for your availability. Sorry I did not check if the documentation had an appropriate example.

What I need is a right to left filling of the field. ._ ___.___1 ___.__12 ___._123 ___.1232 __1.2320 _12.3201 123.2010

In a such way that if the user change the focus with partially filling, I can automatically fill with zeros.

Thank you.

wweellddeerr avatar Jul 24 '18 13:07 wweellddeerr

This is a total valid feature. I'll put this on the roadmap, but it may take some time to release because I think it's not gonna be easy to implement.

Thanks for the feedback!

renato-bohler avatar Jul 27 '18 01:07 renato-bohler

Hey i added the feature request to this one.

I need a config parameter on createNumberMask to filling from left to right.

Not : .0,00 00,01 00,12 01,20 12,00

Needed: .0,00 10,00 12,00 its not necessary to type zero's

Thanks. @renato-bohler

sourcecode911 avatar Aug 21 '19 12:08 sourcecode911