You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a form with an input guarded by a mask. <input type="text" class="form-control" id="dobFilter" formControlName="dobFilter" placeholder="mm/dd/yyyy" mask="m0/d0/0000" [dropSpecialCharacters]="false" />
the test value for 44/44/2020 is seen as valid which is incorrect. this test passed using [email protected]
`fit("validates dob", () => {
let filterValue = { dobFilter: "44" };
component.filterFormGroup.patchValue(filterValue);
expect(component.filterFormGroup.valid).toBeFalsy();
"@angular/common": "~9.1.12",
"@angular/compiler": "~9.1.12",
"@angular/core": "~9.1.12",
"ngx-mask": "^9.1.4",
I have a form with an input guarded by a mask.
<input type="text" class="form-control" id="dobFilter" formControlName="dobFilter" placeholder="mm/dd/yyyy" mask="m0/d0/0000" [dropSpecialCharacters]="false" />
the test value for 44/44/2020 is seen as valid which is incorrect. this test passed using [email protected]
`fit("validates dob", () => {
let filterValue = { dobFilter: "44" };
component.filterFormGroup.patchValue(filterValue);
expect(component.filterFormGroup.valid).toBeFalsy();
The text was updated successfully, but these errors were encountered: