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
To reproduce, simply copy something and paste it in the text box. As you can see, the form control value will not be updated.
I took a look at the code, and it seems to be a side effect of PR #200. We are calling event.preventDefault() in the onPaste method, and we never notify angular that the content of the text box has changed.
This has been present since version v17.1.2, so it would be great if we could somehow backport the fix to v17 of the library as well. It's causing issues for us on the our codebase :(
The text was updated successfully, but these errors were encountered:
Pasting content without any modification, does not update update the form control value, not does it emit anything from
contentChange
.Please take a look at the attached stackblitz: https://stackblitz.com/edit/stackblitz-starters-nbrfbe?file=src%2Fmain.ts
To reproduce, simply copy something and paste it in the text box. As you can see, the form control value will not be updated.
I took a look at the code, and it seems to be a side effect of PR #200. We are calling
event.preventDefault()
in theonPaste
method, and we never notify angular that the content of the text box has changed.This has been present since version v17.1.2, so it would be great if we could somehow backport the fix to v17 of the library as well. It's causing issues for us on the our codebase :(
The text was updated successfully, but these errors were encountered: