Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim on blur event don't dispatch angular change on Edge #42

Open
deividfortuna opened this issue Jun 12, 2019 · 0 comments
Open

Trim on blur event don't dispatch angular change on Edge #42

deividfortuna opened this issue Jun 12, 2019 · 0 comments
Labels

Comments

@deividfortuna
Copy link

deividfortuna commented Jun 12, 2019

Using the directive trim on blur is not trigger the angular change callback.

<input trim="blur" (change)="onChange($event.target.value)" >

The function onChange($event.target.value) is not been called in Microsoft Edge when using the directive even when isn't necessary trim the string.

Unfortunately you need to use Edge to reproduce: https://stackblitz.com/edit/angular-trim

@deividfortuna deividfortuna changed the title Trim on blur event no dispatch change on Edge Trim on blur event no dispatch angular change on Edge Jun 12, 2019
@deividfortuna deividfortuna changed the title Trim on blur event no dispatch angular change on Edge Trim on blur event don't dispatch angular change on Edge Jun 12, 2019
@anein anein added the bug label Jun 13, 2019
@anein anein added the IE label Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants