antoniopresto / antd-mask-input

MIT License
88 stars 38 forks source link

Multiple Masks #75

Open renerlemes opened 1 year ago

renerlemes commented 1 year ago

How to use with multiple masks? For example, I need to use the mask 000.000.000-00 and 00.000.000/0000-00, but when I have the value with first mask, is not possible to type more character, I type and nothing happened and the second mask is not applied.

Using dispatch not working too beacuse the same problem and I can't deal with the length of characters.

I would like that when it had the value 123.456.789-00 and I typed one more character, it would format with the second mask

image