Open hongseokyoon opened 5 years ago
Really nice idea. I like it.
It seems there is a simple bug to fix. Run example.js
and check that the displayed text contains [[object Object], green, yellow]
It would be better to add an option to enable/disable this feature
Also it would be better to print the list without [
and ]
to be consistent with the value that is printed after pressing enter.
I didn't remove brackets because of searchable option. Isn't it clear to distinguish selected values and search input?
If source list is long, it's hard to recognize selected values. This change add selected value list in gray color just after the question string.