md-input not firing blur event
See original GitHub issueNote: for support questions, please use one of these channels: https://github.com/angular/material2/blob/master/CONTRIBUTING.md#question. This repository’s issues are reserved for feature requests and bug reports.
- Do you want to request a feature or report a bug? Bug
- What is the current behavior?
Blur event is not firing on <md-input> elements, even if we provide
<md-input (blur)="logBlur()">
. - If the current behavior is a bug, please provide steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar. Can’t find base plunker for md-input
- What is the expected behavior? Blur event should fire
- What is the motivation / use case for changing the behavior?
- Which version of Angular and Material, and which browser and OS does this issue affect? Did this work in previous versions of Angular / Material? Please also test with the latest stable and snapshot versions. Tested on 2.0.0.alpha-2 in Chrome
- Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Blur event is not triggering in IE - Angular 2+ - Stack Overflow
The focusout event fires when an element is about to lose focus. ... this event and blur is that focusout bubbles while blur...
Read more >angular blur event not firing, ng-blur on div,
Blur event is not firing on elements, even if we provide <md-input (blur)="logBlur ()">. ... The blur event fires when an element has...
Read more >Element: blur event - Web APIs | MDN
The blur event fires when an element has lost focus. The event does not bubble, but the related focusout event that follows does...
Read more >Focusing: focus/blur - The Modern JavaScript Tutorial
Losing the focus generally means: “the data has been entered”, so we can run the code to check it or even to save...
Read more >Angular 10 (blur) Event - GeeksforGeeks
ts make a function that triggers on blur event. In app.component.html make an input element and set blur event. Serve the angular app...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(input) (focus) … and other events are also not being emitted for md-input, is this by design or will they be added in the future? thanks in advance
ps 👍 for (blur)
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.