- Notifications
You must be signed in to change notification settings - Fork27k
Closed
Description
I'm submitting a ... (check one with "x")
[X] bug report => search github for a similar issue or PR before submitting[ ] feature request[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#questionCurrent behavior
Having a text input bound with ngModel and a pattern validation, if you hold a letter key while focusing the input to enter a long string such as "aaaaaaaaaaaaa", after ~30 characters the browser freezes and does not respond anymore.
Expected behavior
Angular should prevent browser to freeze when spamming input on a field with complex validation.
Minimal reproduction of the problem with instructions
Seehttp://plnkr.co/edit/ydMZGGQOh62fGwbLh0Yg?p=preview
What is the motivation / use case for changing the behavior?
You don't want browser to freeze or crash because of Angular
Please tell us about your environment:
Windows 7 64 bit
- Angular version: 2.1.2
- Browser: Chrome 54
Language: all
Node (for AoT issues):
node --version=
Metadata
Metadata
Assignees
Labels
No labels