-
-
Notifications
You must be signed in to change notification settings - Fork 233
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
Support for user to select multiple results #91
Comments
I'm facing the same issue! Could be cool to support this feature |
Hello @samijnih, I totally get the use-cases of multiple selections. Yet, I don't see it as a built-in functionality inside
I hope I'm making any sense, please let me know your thoughts. Have a nice day, cheers! :) |
Hey @TarekRaafat Thanks for taking time to answer. I got your three points and that's true. It's not a core autocomplete feature. Anyway, I've managed to do it with your hackable autocomplete by using callback on user selection 👍 I'll post my solution in order to provide to @arnav13081994 a sample of how to deal with it 😋 Have a nice day too! :) |
@samijnih that's awesome! Thanks for your understanding, and I'm looking forward to your solution. Cheers! :) |
here we are! https://codepen.io/everytimeicob/pen/NWRjajL I'm using materializecss for chip elements. I don't use their API because it puts the chip element over the input and so, it's not the expected behaviour. Have a nice night :) |
Here is another basic example for multiple selections. |
Hello @TarekRaafat, I believe your example doesn't work with version 10. I tried to change version on your code pen (10.2.6) and the widget simply doesn't work anymore. edit: I somehow managed to make it work replacing resultList configuration with something like this:
|
Is your feature request related to a problem? Please describe.
It would be great if a user can search for and add multiple inputs from the same search results. Perhaps just exposing an attribute in the autocomplete configure like
multiple: true,
would be very nice. Most Autocomplete use-cases would involve multiple inputsThoroughly Describe the solution you'd like
By simply setting an attribute like
multiple: true
in autocomplete configure should allow a user to input multiple and eventually select multiple results.Please provide a few use cases for this feature
Please Describe alternatives you've considered
A hacky solution is to store the resulted solution somewhere else on the page and keep on repeating until the user is done searching.
The text was updated successfully, but these errors were encountered: