You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure I'm reporting something precise that needs to be fixed
Give my issue a descriptive and concise title
Create a minimal working example on JsFiddle or Codepen
(or gave a link to a demo on the Selectize docs)
Indicate precise steps to reproduce in numbers and the result,
like below
(This is a feature request rather than a bug so some of the above aren't applicable I don't think...)
It would be great to be able to mark an option as 'sticky' (or similar), which would mean that it always shows up as an option, regardless of the user's input in the text field. The main use case of this, which is a relatively common piece of UI I think, would be for an 'Other' option, whereby the 'Other' option would always show at the bottom of the list.
My specific use case is for bank account providers; we do not support every single provider (there are a lot), so sometimes a user will type their provider into the autocomplete field, but it is not there, so they are left with an empty list of options. In this case, what they'd need to do is select 'Other', but obviously 'Other' has been filtered out along with all the others, so currently the only way they can do this is clear their previous input and know to then find 'Other'.
I did have a look through the documentation (and have been using Selectize for a while) as well as trying a few searches in closed issues but couldn't find anything, but apologies if I've missed something! :-)
This discussion was converted from issue #1747 on February 02, 2022 16:42.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I did:
(or gave a link to a demo on the Selectize docs)
like below
(This is a feature request rather than a bug so some of the above aren't applicable I don't think...)
It would be great to be able to mark an option as 'sticky' (or similar), which would mean that it always shows up as an option, regardless of the user's input in the text field. The main use case of this, which is a relatively common piece of UI I think, would be for an 'Other' option, whereby the 'Other' option would always show at the bottom of the list.
My specific use case is for bank account providers; we do not support every single provider (there are a lot), so sometimes a user will type their provider into the autocomplete field, but it is not there, so they are left with an empty list of options. In this case, what they'd need to do is select 'Other', but obviously 'Other' has been filtered out along with all the others, so currently the only way they can do this is clear their previous input and know to then find 'Other'.
I did have a look through the documentation (and have been using Selectize for a while) as well as trying a few searches in closed issues but couldn't find anything, but apologies if I've missed something! :-)
Beta Was this translation helpful? Give feedback.
All reactions