In my Ionic 4 App I have a reactive form where I validate some information and show an error under the field using an ngIf for this in my html code. aside from validation I'd like to use a mask in my phone, cpf and cnpj fields. For this I'm using br-mask. My issue is that when I add br-mask to my input field, it apparently inhibits the field.dirty condition from working, consequently not showing my error message. My code follows:
In my Ionic 4 App I have a reactive form where I validate some information and show an error under the field using an ngIf for this in my html code. aside from validation I'd like to use a mask in my phone, cpf and cnpj fields. For this I'm using br-mask. My issue is that when I add br-mask to my input field, it apparently inhibits the field.dirty condition from working, consequently not showing my error message. My code follows:
`
Thanks in advance!