ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Mask is emitting empty string on onModelChange without user interaction

Open Forsaiken opened this issue 3 years ago β€’ 2 comments

🐞 bug report

Is this a regression?

Yes, when I downgrade my version to 15.1.5 the error stopped

Description

Basically the input is emitting a value change in the onModelChange without the user do anything to the input when the changeDetection is onPush he is emitting the value of the ngModel, but when there is no changeDetection he is emitting a empty string ('').

πŸ”¬ Minimal Reproduction

I'm trying to reproduce the error, but no success :(

πŸ”₯ Exception or Error



🌍 Your Environment

Angular Version: 16.1.1


Angular CLI: 16.1.4
Node: 18.14.2
Package Manager: npm 9.6.0
OS: win32 x64

Anything else relevant?

Forsaiken avatar Jul 17 '23 14:07 Forsaiken

@Forsaiken Could you provide stackblitz or another environment ?

andriikamaldinov1 avatar Jul 21 '23 09:07 andriikamaldinov1

@Forsaiken thanks for using ngx-mask. Sorry, but we don't have enough data to restore the problem, if you can reproduce this problem, please open a new ishue.

andriikamaldinov1 avatar Aug 07 '23 12:08 andriikamaldinov1