In my scenario, I am dealing with a dynamic regExp
and unique masks for each input. For instance, the regExp is defined as [0-9]{9,9}
and the corresponding mask is XXX-XX-XX-XX
. However, when it comes to Angular's pattern validation, this setup is considered incorrect.
Is there any possibility that Angular could potentially validate a value like 222-22-22-22
as correct in this case?