Closed FractalMind closed 1 year ago
I don't know
The mask will work as expected when the input is empty. But if you overwrite the date, the mask goes banana
Go in your date demo https://jsdaddy.github.io/ngx-mask/
Enter a date
Correct the date
enter: 10062023 enter: 11062023
enter: 11111111 enter: 22222222
Angular Version:
"@angular/cdk": "15", "@angular/common": "^15.1.0", "@angular/core": "^15.1.0", "@angular/material": "15", "ngx-mask" : "^16.2.2",
Not working on Angular 16 either https://stackblitz.com/edit/stackblitz-starters-bauaai?file=src%2Fmain.ts
With love ❤️
@FractalMind Thanks for your using Ngx-Mask. Please update to latest version. It example, all work as expected - https://stackblitz.com/edit/stackblitz-starters-1yfbym?file=src%2Fmain.ts
🐞 bug report
Is this a regression?
I don't know
Description
The mask will work as expected when the input is empty. But if you overwrite the date, the mask goes banana
🔬 Minimal Reproduction
Go in your date demo https://jsdaddy.github.io/ngx-mask/
Enter a date
Correct the date
enter: 10062023 enter: 11062023
enter: 11111111 enter: 22222222
🌍 Your Environment
Angular Version:
"@angular/cdk": "15", "@angular/common": "^15.1.0", "@angular/core": "^15.1.0", "@angular/material": "15", "ngx-mask" : "^16.2.2",
Not working on Angular 16 either https://stackblitz.com/edit/stackblitz-starters-bauaai?file=src%2Fmain.ts
With love ❤️