Virtual keyboard discrepancy between HTML element value and Angular’s value (I have the answer I just need reputation so I can upvote it) [closed]

I’m implementing a virtual keyboard in Angular that’s correctly updating the "value" field of html elements on focus, but there was a discrepancy where Angular’s model wasn’t seeing the changes. My only way to solve it was to add listeners to custom events on every single new input element that I created which was a hassle, until I found this beautiful answer https://stackoverflow.com/a/50220535/14751802
and it just made me so happy that I decided to try and join stack overflow after 5 years of ghosting just to upvote it.

Source: Angular Questions