Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Feature Request] "Sticky Option" - a persistent dropdown option, regardless of input #1748

mikevaux started this conversation in Ideas
Discussion options

I did:

  • Search for if my issue has already been submitted
  • 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! :-)

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #1747 on February 02, 2022 16:42.

AltStyle によって変換されたページ (->オリジナル) /