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

Sticky options? #62

Open
DavidSubiros opened this issue Apr 2, 2024 · 0 comments
Open

Sticky options? #62

DavidSubiros opened this issue Apr 2, 2024 · 0 comments

Comments

@DavidSubiros
Copy link

I have used this library in different parts of my front-end.

There is a case where one of the options I have is a button to add an extra item in the options list. The issue is that that item should be always visible (sticky?) even if I type something that would filter it out.

I didn't see any way to doing this, but I think it would be easy to implement into the library? (e.g. an extra bool for the 'Option' type, which would act as a flag to determine if an option is 'sticky', and then use this value to prevent filtering out items that should be sticky when the user types something)

Is there any way that you would consider implementing this? Otherwise, I might need to switch to some other library, or create a fork.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant