Describe the bug
The form control does not update when the user presses Command+Z (Ctrl+Z for Windows).
To Reproduce
-
Go to stackblitz: https://stackblitz.com/edit/stackblitz-starters-18mqkgtc?file=src%2Fmain.ts
-
Enter the mobile phone number into the first input (where imask is not used);
-
Press the keyboard shortcut Command+Z (Ctrl+Z for Windows);
Expected behavior == Сurrent behavior. successPhoneControl is updated.
-
Enter the mobile phone number into the second input (where imask is used);
-
Press the keyboard shortcut Command+Z (Ctrl+Z for Windows).
Expected behavior != Сurrent behavior. errorPhoneControl is not updated.
Expected behavior
The form control should be updated every time the user presses Command + Z.
Environment:
- OS: iOS, Windows
- Browser: chrome
- Version: 136.0.7103.114 (x64)
- IMask version: 7.6.1
- Framework/plugin version if used: Angular 19.2.0
Additional context
Add any other context about the problem here.
Describe the bug
The form control does not update when the user presses Command+Z (Ctrl+Z for Windows).
To Reproduce
Go to stackblitz: https://stackblitz.com/edit/stackblitz-starters-18mqkgtc?file=src%2Fmain.ts
Enter the mobile phone number into the first input (where imask is not used);
Press the keyboard shortcut Command+Z (Ctrl+Z for Windows);
Expected behavior == Сurrent behavior. successPhoneControl is updated.
Enter the mobile phone number into the second input (where imask is used);
Press the keyboard shortcut Command+Z (Ctrl+Z for Windows).
Expected behavior != Сurrent behavior. errorPhoneControl is not updated.
Expected behavior
The form control should be updated every time the user presses Command + Z.
Environment:
Additional context
Add any other context about the problem here.