anein / angular2-trim-directive

the directive trims whitespaces from the end of an input text value.
MIT License
45 stars 26 forks source link

Breaks browser AutoFill #27

Closed jaco-terbraak closed 6 years ago

jaco-terbraak commented 6 years ago

Whenever this directive is used on an input, the browser AutoFill does not update the ngModel.

I am now using this directive: https://github.com/KingMario/angular2-trim-on-blur which does the same thing but does not have this issue.

anein commented 6 years ago

Great. You can use whatever you want. 😉