cesarrew / ng2-currency-mask

A very simple currency mask directive that allows using a number attribute with the ngModel.
MIT License
235 stars 116 forks source link

Update mask with programmatically changes #137

Closed alexandrelealjr closed 4 years ago

alexandrelealjr commented 4 years ago

the mask only works with user input. how to update mask with input value changed programmatically. input.value = 230.05 for example.

i have tested with dispacthEvent(new Event("input")) // change, focus, blur and noone works.