Replies: 4 comments
-
I could add an extra attributes to the webcomponent implementing the Tom-Select widget, for instance As for how options are rendered, this could be implemented by additional |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to allow passing the options for TomSelect in the widget itself like this: 6278973? The above disables match highlighting within the dropdown menu as an example. It's not exactly pretty, but it is flexible. |
Beta Was this translation helpful? Give feedback.
-
On second thought, this is not robust enough, since you can't pass functions to the constructor this way. |
Beta Was this translation helpful? Give feedback.
-
I would prefer a list of dedicated options inside a special attribute, passed to the web component implementing the widget. "highlight" could be one of them. This would allow me to reimplement these options in a possible future alternative library. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I pass options/settings on to the TomSelect constructor for customization?
For example, when I want to use the dropdown header plugin or when I want to override how options are rendered?
Beta Was this translation helpful? Give feedback.
All reactions