Suggestion: Create an API on FormControl to focus the input
# 🚀 feature request ### Relevant Package This feature request is for @angular/forms ### Description The FormControl class does not have a FOCUS method. ### Describe the solution you'd like Create an API on FormControl that would easily allow the input to be focused without having to resort to bringing in Renderer or ElementRef. ### Describe alternatives you've considered https://github.com/angular/angular/issues/12463 https://github.com/angular/angular/issues/13158 The best response for the Angular team is as follows: >We’re trying to keep our forms modules light and fast, and so it’s important to balance additions to the API with keeping the bundle size manageable. I fail to see how a focus method would increase bundle size in any significant way. Bits maybe. The trade off by not doing this is that everyone project implement their own focus thus increasing bundle size for nearly every project anyway since focus on an input is practically universal need for modern UI design. The comment history on both issues show a need. There are several good arguments for this feature and since both issues where closed long ago I am submitting the feature request _again_ to make another community generated push for it.
Posted by logic01 on Jun 19, 2019, 3:03 PM
Tags
Related issues
- [BUG] Cowork (Windows): all Plan9 shares fail with "Plan9 mount failed: invalid argument" after Windows update KB5124008 (26200.9445) — uninstalling the KB fixe
- Feature Request: Auto-resume CLI session when usage limit resets
- Please deobfuscate the Python
- [Bug] MLX version of Gemma 4 26B fails to load: "Model type gemma4 not supported" (macOS)
- # 233 Developers Discussed Abandoning the Office Add-in Platform — An Open Letter on the Office.js Stability, Security & Trust Crisis
- [FEATURE] Allow users to configure which shell the Bash tool uses or inherit initial shell
Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments
reliability (Software)
[BUG] Cowork (Windows): all Plan9 shares fail with "Plan9 mount failed: invalid argument" after Windows update KB5124008 (26200.9445) — uninstalling the KB fixe
Feature Request: Auto-resume CLI session when usage limit resets
Please deobfuscate the Python
[Bug] MLX version of Gemma 4 26B fails to load: "Model type gemma4 not supported" (macOS)
# 233 Developers Discussed Abandoning the Office Add-in Platform — An Open Letter on the Office.js Stability, Security & Trust Crisis
[FEATURE] Allow users to configure which shell the Bash tool uses or inherit initial shell
Admin Materials and Surfaces
AMD Support
Suggestion: Create an API on FormControl to focus the input
# 🚀 feature request ### Relevant Package This feature request is for @angular/forms ### Description The FormControl class does not have a FOCUS method. ### Describe the solution you'd like Create an API on FormControl that would easily allow the input to be focused without having to resort to bringing in Renderer or ElementRef. ### Describe alternatives you've considered https://github.com/angular/angular/issues/12463 https://github.com/angular/angular/issues/13158 The best response for the Angular team is as follows: >We’re trying to keep our forms modules light and fast, and so it’s important to balance additions to the API with keeping the bundle size manageable. I fail to see how a focus method would increase bundle size in any significant way. Bits maybe. The trade off by not doing this is that everyone project implement their own focus thus increasing bundle size for nearly every project anyway since focus on an input is practically universal need for modern UI design. The comment history on both issues show a need. There are several good arguments for this feature and since both issues where closed long ago I am submitting the feature request _again_ to make another community generated push for it.
Comments (0)
No comments yet. Start the discussion.