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

feat(typeahead) Allow to be able to search multiple times in the same input #5781

Closed
pavloldev6 opened this issue May 11, 2020 · 0 comments · Fixed by #5784
Closed

feat(typeahead) Allow to be able to search multiple times in the same input #5781

pavloldev6 opened this issue May 11, 2020 · 0 comments · Fixed by #5784

Comments

@pavloldev6
Copy link

pavloldev6 commented May 11, 2020

Is your feature request related to a problem? Please describe.

I need to be able to have typeahead suggestion for multiple possible values in the same input field. When I type a sentence for example and, after using specific character it should start giving matches and then again and again.

Describe the solution you'd like

Being able to enter multiple values and after using a specified delimiter to start a new search again but concatenate a picked value. For example there are Apple and Mango in typeahead values, when I search "App" it will suggest Apple, I press enter and it populates the input. Then if I type one of provided delimiters, like comma or space etc., and after that type "M" the dropdown should give Mango as an option to pick. When I take it, press enter, the input should have Apple,Mango (when comma used as separator) or Apple Mango (when space used). Possible delimiters could be provided as a separate option. It should also allow to type something else in between which doesn't match any values like Apple,something,Mango
This link demonstrates almost exactly what I am requesting just comma doesn't need to be automatically inserted and other than comma kind of delimiter can be provided.
http://jsfiddle.net/Sherbrow/BwDmM/300/

Describe alternatives you've considered

Considered my own implementation or helping to make a contribution for this feature in this project.

Additional context

@pavloldev6 pavloldev6 changed the title Allow to be able to search multiple times in the same input feat(typeahead) Allow to be able to search multiple times in the same input May 11, 2020
lehetap pushed a commit to lehetap/ngx-bootstrap that referenced this issue May 14, 2020
…imiters

allows to show typeahead after delimiter is entered so typeahead can be used
to search multiple items from typeahead dropdown;
keeps all searched values; described in valor-software#5781

Closes valor-software#5781
lehetap added a commit to lehetap/ngx-bootstrap that referenced this issue May 14, 2020
…iter

feature allows to show typeahead dropdown even after any value
already entered by typing one of provided delimiters to be able to pick
again; keeps all searched values, described in valor-software#5781

Closes valor-software#5781
lehetap added a commit to lehetap/ngx-bootstrap that referenced this issue May 14, 2020
…iter

feature allows to show typeahead dropdown even after any value
already entered by typing one of provided delimiters to be able to pick
again; keeps all searched values, described in valor-software#5781

Closes valor-software#5781
daniloff200 pushed a commit that referenced this issue Jul 21, 2020
…iter

feature allows to show typeahead dropdown even after any value
already entered by typing one of provided delimiters to be able to pick
again; keeps all searched values, described in #5781

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

Successfully merging a pull request may close this issue.

1 participant