Skip to content

Sticky options? #62

Open
Open
@DavidSubiros

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!

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