-
-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support autofoucs attribute #762
Comments
Since autofocus isn't supported yet, is there a way to set focus? |
|
* feat(autofocus): focus if attribute is present closes #762
* feat(autofocus): focus if attribute is present closes ng-select#762
I would like to set autofocus conditionally. Unfortunately, |
Apparently adding autofocus to ng-select kinda works ( I know autofoucs is private ) but it's all depending on how you use it. Tried to add it here https://stackblitz.com/run?file=src/output-events-example.component.html |
The component should support the HTML5
autofocus
attribute and assign it to itsinput
. This removes the need to write code calling the focus method after a timeout.The text was updated successfully, but these errors were encountered: