You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m currently using a DTO to store entities data besides their text and value in TomSelect options. I wanted its properties to match our model; e.g. by setting valueField to id I can make TomSelect use the DTO’s $id property to populate options’ value. This works great, but not for labelField because its default value (text) is hardcoded in score, render.item and render.option.
Would it be possible to make this property depends on the labelField option? Thanks!
The text was updated successfully, but these errors were encountered:
I’m currently using a DTO to store entities data besides their
text
andvalue
in TomSelect options. I wanted its properties to match our model; e.g. by settingvalueField
toid
I can make TomSelect use the DTO’s$id
property to populate options’ value. This works great, but not forlabelField
because its default value (text
) is hardcoded inscore
,render.item
andrender.option
.Would it be possible to make this property depends on the
labelField
option? Thanks!The text was updated successfully, but these errors were encountered: