Skip to content

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

@deividfortuna

Description

@deividfortuna

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions