select option like stackoverflow tag input
-
https://codepen.io/sath08/pen/aeVMrX?editors=1010
i have tried to get the result in this code. however when i click on option after i typed for it…the string that i typed remains and i have to take it out again. see for urself in the demo when u try to use it like stackoverflow tag input(when u ask a question)
furthermore, i tried to use new-value-mode prop. but i dont want to use newly created chips.