Use sortField with html attribute #410
Replies: 2 comments
-
Since it work without any problem when I initialize my tom select with javascript: It is probably a bug or simply a feature tom select does not provide. I opened a issue: #415 |
Beta Was this translation helpful? Give feedback.
-
Hi Team the disabled inputs inside an optgroup are sorted to the top of the optgroup. this is not what we want. we want tomselect to respect & follow the same input order as we introduced by the html. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to use the property sortField directly with html attribute?
I am trying to wrote
data-sort-field="[{field:'$order'},{field:'$score'}]"
, but it does not seems to be applied.Beta Was this translation helpful? Give feedback.
All reactions