Closed ViniciusRochaDcide closed 7 months ago
you can try using following, [(ngModel)]="startTime"
@ViniciusRochaDcide Thanks for using Ngx-mask. Please update to lates version. It example all work as expected - https://stackblitz.com/edit/stackblitz-starters-slqrk6?file=src%2Fmain.ts
To initialize a variable with a value, the mask is not being applied correctly
https://stackblitz.com/edit/angular-nhtwrw?file=src%2Fmain.ts
"dependencies": { "@angular/animations": "^17.0.1", "@angular/common": "^17.0.1", "@angular/compiler": "^17.0.1", "@angular/core": "^17.0.1", "@angular/forms": "^17.0.1", "@angular/platform-browser": "^17.0.1", "@angular/router": "^17.0.1", "ngx-mask": "^17.0.4", "rxjs": "^7.8.1", "tslib": "^2.6.2", "zone.js": "^0.14.2" }