Skip to content

Sticky options? #62

Description

@DavidSubiros

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions