Closed Ihuarraquax closed 11 months ago
Do not know
Using showTypedMask option causes form control to be invalid even if one of mask is valid. Check screen and stackblitz
https://stackblitz.com/edit/angular-f3qfph?file=src%2Fmain.ts
form control validation error: { "mask": { "requiredMask": "00000-0000", "actualValue": "12324" } }
{ "mask": { "requiredMask": "00000-0000", "actualValue": "12324" } }
Angular Version:
angular 16 ngx-mask 16.4.1
Anything else relevant?
@Ihuarraquax Thanks for using Ngx-mask. Please update to latest version. It example all work as expected - https://stackblitz.com/edit/angular-gvb8nk?file=src%2Fmain.ts
🐞 bug report
Is this a regression?
Do not know
Description
Using showTypedMask option causes form control to be invalid even if one of mask is valid. Check screen and stackblitz
🔬 Minimal Reproduction
https://stackblitz.com/edit/angular-f3qfph?file=src%2Fmain.ts
🔥 Exception or Error
form control validation error:
{ "mask": { "requiredMask": "00000-0000", "actualValue": "12324" } }
🌍 Your Environment
Angular Version:
angular 16 ngx-mask 16.4.1
Anything else relevant?