-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Labels
Description
I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Suggestion
Create an API on FormControl that would easily allow the input to be focused without having to resort to bringing in Renderer or ElementRef.
What is the motivation / use case for changing the behavior?
This could be used widely to either easily focus the first input in a form after it is rendered, or focus inputs which have invalid data entered into them.
mattdistefano, pcroc, michaelchiche, cbw-jmccormick, Hugmungus and 52 morecbw-jmccormick, Hugmungus, juanpablodelatorre, logic01, spiewok and 11 more