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
It worked on version 7.9.10 (when i was using Angular 14)
I'm not exactly sure which version the bug started occurring.
Description
The problem arises when dynamically updating the mask directive. The [dropSpecialCharacters] functionality ceases to work upon mask changes, causing the value to lose its special characters. For instance, before the change, the value appears as '12 3456-78901', but after the mask change, it becomes '12345678901'.
While the stackblitz application generates an error, my application does not display that error message. However, the bug persists.
"Error: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '00 00000-00009'. Current value: '00 0000-00009'. Expression location: DoNotDropSpecialCharacters component."
馃悶 bug report
Is this a regression?
It worked on version 7.9.10 (when i was using Angular 14)
I'm not exactly sure which version the bug started occurring.
Description
The problem arises when dynamically updating the mask directive. The [dropSpecialCharacters] functionality ceases to work upon mask changes, causing the value to lose its special characters. For instance, before the change, the value appears as '12 3456-78901', but after the mask change, it becomes '12345678901'.
While the stackblitz application generates an error, my application does not display that error message. However, the bug persists.
馃敩 Minimal Reproduction
https://stackblitz.com/edit/stackblitz-starters-quncct?file=src%2Fmain.ts
馃敟 Exception or Error
馃實 Your Environment
*NGX-mask version: ^17.0.7 **
Angular & NGX-mask Version:
The text was updated successfully, but these errors were encountered: