parttio / textfieldformatter

TextField Formatter Vaadin add-on
Apache License 2.0
13 stars 9 forks source link

will make the Numeral formatting? #4

Closed fabioebner closed 7 years ago

johannesh2 commented 7 years ago

Yeah I could take a look at it and try. Unfortunately not this weekend as I'm away from computer. I'll get back to you.

fabioebner commented 7 years ago

Tks man, I will wait ( I need a money format, when type he put the brazilian mask) 123.123.323,33

tks

fabioebner commented 7 years ago

Hei man, Did you see that problem for me? tks

johannesh2 commented 7 years ago

Sorry I have been too busy with both work and personal things. I'll try again tomorrow.

johannesh2 commented 7 years ago

I'm very sorry this took me so long. v.1.3 available.

fabioebner commented 7 years ago

Tks man.

Its possible to use one text field to have more than one format, depends on my user choices? Sample: I have one text field and 2 radiobutton, when my user select the first radio my format will be ###.###.###-## and if my user click in second radio the format will be ##.###.###/####-##. and my user can change between one or other any time

tks

johannesh2 commented 7 years ago

Currrently no. I would need to implement a setFormat method to the formatter. I'm not sure if cleave.js even supports having format ##.###.###/####-## where the # is limited for numbers only. I would have to check. Could you comment on #5 if you need more specifics.