-
Notifications
You must be signed in to change notification settings - Fork 378
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 @searchFieldPosition
argument
#1784
Conversation
`<PowerSelect />` instances will have `@searchFieldPosition` set to `before-options` by default. `<PowerSelectMultiple />` instances will have `@searchFieldPosition` set to `trigger` by default with the option to change it to `before-options`.
@alex-ju thank you... i will look to find time in next days to review it |
@alex-ju i have tested passing Do you have time to add also that option for single select? |
I had a start on the single select as well, but it requires a bit more attention (esp on the a11y and focus management) so I was hoping to address it in a follow-up PR. |
ah, understood... |
makes sense, will try to carry on with this PR then when time allows |
@mkszepp an accessible implementation of |
👋 I'd love to have this accessibility improvement go live. Any ideas on how we can move this PR forward? TIA for considering! <3 |
@MelSumner atm i'm a little bit busy, but i would like to bring this feature to finish line. I think the open task is to bring the same logic like @alex-ju did already for multiple, to single select... (i think handling a11y support correctly, was a blocking point for him) I would like to introduce this feature in current major version (v8) and before we make braking changes, because for sass we need to do a braking change (moving to modern api, replace Would you like to complete this feature? or @alex-ju do you have any time to bring this to finish line? Otherwise let me know, so i will look to schedule time for this feature. |
This sounds great!
If you think |
i have taken the changes from this PR and added the same for single select field in PR #1864 i will close this PR as we have everything in PR #1864 @alex-ju thank you again for your input & help for adding this feature |
@alex-ju @MelSumner released in |
@mkszepp awesome, thanks for getting this over the line 🙌 |
Summary
Follow-up on #1752, gradually introducing
@searchFieldPosition
(after-options
|trigger
).Description
<PowerSelect />
instances will have@searchFieldPosition
set tobefore-options
by default.<PowerSelectMultiple />
instances will have@searchFieldPosition
set totrigger
by default with the option to change it tobefore-options
.<PowerSelectMultiple @searchEnabled={{true}} @searchFieldPosition="before-options" />
instances will have a search input placed in the dropdown, before the options, acting exactly as it currently does in<PowerSelect @searchEnabled={{true}} />
.