tom-select icon indicating copy to clipboard operation
tom-select copied to clipboard

[Help wanted]: Is it possible to make selecting for several values with tom-select js?

Open typo3ua opened this issue 1 year ago • 3 comments
trafficstars

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:

image

OR

image

Is it possible with tom-select js?

Additional context

I am looking for a solution

typo3ua avatar Apr 06 '24 20:04 typo3ua

Isn't this the standard behavior? https://tom-select.js.org/examples/

Consider posting questions in Stack Overflow instead

pereorga avatar Jun 18 '24 16:06 pereorga

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

typo3ua avatar Aug 02 '24 13:08 typo3ua

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.

body-clock avatar Aug 02 '24 19:08 body-clock