I have an input field in which the user have to type a MAC Address, but i wanted to apply a mask that:
- if the person entered with the 12 digits without the ':' it would automatically complete it
- if its not valid, then i could disable the form and send an error message
Can someone help me with this?
I tried using
mask="FF:FF.FF:FF.FF:FF"
in the input field, using the https://www.npmjs.com/package/ngx-mask documentation but it didnt work