Skip to content
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

Add autoFilterFocus property to Dropdown and MultiSelect #2916

Closed
ArinSantry opened this issue Aug 31, 2022 · 0 comments
Closed

Add autoFilterFocus property to Dropdown and MultiSelect #2916

ArinSantry opened this issue Aug 31, 2022 · 0 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@ArinSantry
Copy link

Describe the feature you would like to see added

When a multiselect (with filter enabled) dropdown is opened, auto focus on the filter input. PrimeNG already has this feature: https://www.primefaces.org/primeng/multiselect

Is your feature request related to a problem?

When I try to give focus to the filter in a multiselect using Vue's .focus() method, it focuses on the multiselect component itself, not the filter specifically. This feature would make the use of the multiselect filter easier, since the user will not need to click twice to find what they want in a potentially very long list of items.

Describe the solution you'd like

No response

Describe alternatives you have considered

I have tried to use Vue's .focus() method on the multiselect, but it focuses on the component itself, not the filter.

Additional context

No response

@ArinSantry ArinSantry added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Aug 31, 2022
@mertsincan mertsincan changed the title Multiselect auto-focus on filter Add autoFilterFocusproperty to Dropdown and MultiSelect Aug 31, 2022
@mertsincan mertsincan self-assigned this Aug 31, 2022
@mertsincan mertsincan added this to the 3.17.0 milestone Aug 31, 2022
@mertsincan mertsincan changed the title Add autoFilterFocusproperty to Dropdown and MultiSelect Add autoFilterFocus property to Dropdown and MultiSelect Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants