tom-select
tom-select copied to clipboard
[Help wanted]: Is it possible to make selecting for several values with tom-select js?
I have text file in json format with data
[
{
"country": "USA",
"state": "Texas",
"city": "Houston",
"link": "https://www.houston.us"
},
{
...
}
]
Expected behavior
I need to make selecting for several values ... one, two or more values with tom-select js. For example:
OR
Is it possible with tom-select js?
Additional context
I am looking for a solution
Isn't this the standard behavior? https://tom-select.js.org/examples/
Consider posting questions in Stack Overflow instead
Thanks for reply ...
Isn't this the standard behavior? https://tom-select.js.org/examples/
I do not this do ...
In my case there are several fields where we need to do select data ... in standard behavior tom-select js only one field
See the last example on this page. This is standard TomSelect behavior and can be enabled by putting a multiple attribute on your select element.