Form control valueChanges is called on init
🐞 bug report
Is this a regression?
Yes, the previous version in which this bug was not present was: 17.0.5
Description
When there's a form control with a mask, the valueChanges fires on the form (form control) init.
🌍 Your Environment
Angular Version:
@angular-devkit/architect 0.1703.7
@angular-devkit/build-angular 17.3.7
@angular-devkit/core 17.3.7
@angular-devkit/schematics 17.3.7
@angular/cli 17.3.7
@schematics/angular 17.3.7
ng-packagr 17.3.0
rxjs 7.5.7
typescript 5.2.2
zone.js 0.14.2
Anything else relevant?
The first version with this issue is 17.0.6.
Could this be related? https://github.com/JsDaddy/ngx-mask/issues/1357
Hi, I confirm this problem.
@WebTechnolog
Thanks for using Ngx-mask. Please update to latest version.
It example all work as expected - https://stackblitz.com/edit/stackblitz-starters-2ws8jj?file=package.json
Thanks a lot for the fix, and for the library of course.