Skip to content

Find or create list item #41

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

Open
stevenspiel opened this issue Dec 16, 2018 · 1 comment
Open

Find or create list item #41

stevenspiel opened this issue Dec 16, 2018 · 1 comment

Comments

@stevenspiel
Copy link

Dave, this is a fantastic component. Thanks for your good work with it!

What is the feasibility of having a find or create feature where if what the user is searching is not on the list, it could be added?

@davecoffin
Copy link
Owner

Hey Steven,
Thats a cool idea. I dont have time at the moment to add something like that, but it should be pretty simple, just add a button when there are no matching results at the bottom that will append the item to the source array. You could fork and try it out, otherwise I may be able to add that after the new year...

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

2 participants