RobinHerbots / Inputmask

Input Mask plugin
https://robinherbots.github.io/Inputmask/
MIT License
6.39k stars 2.17k forks source link

Alternator Mask not working properly #2713

Closed luco closed 1 year ago

luco commented 1 year ago

When trying to use the alternator mask, it's not working properly:

if (document.querySelector(".cpfcnpjmask")) {
        Inputmask({
            mask: ['999.999.999-99', '99.999.999/9999-99'],
            keepStatic: true
        }).mask(document.querySelector(".cpfcnpjmask"));
    } 

image

Right after inserting another number:

image

RobinHerbots commented 1 year ago

@luco ,

Can you retry with 5.0.9-beta.7