-
Hi there, first of all, thanks to the devs for this great js component, that looks very promising. I think I got it to work but still there is something, that sorta sounds rather basic, that I didn't get to work so far. I have in the DOM a basic tom-select element, built the regular way, say:
But I haven't figured out yet how to do it with the tom-select. The rest of the fields they work just fine. I received the values via ajax in "room_id" and "room_name" (which are the option "value" and option "text" respectively) I tried SetValue() and setTextboxValue() but didn't pan out ... ** I'd figure it'd be something similiar to a regular Select input where you only need to set the option's value and that's it. Thank you in advance. Hope someone understand and can help. Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yeah, based on your description I'd think setValue() would work. Could you set up a jsfilddle to demonstrate your scenario? |
Beta Was this translation helpful? Give feedback.
Yeah, based on your description I'd think setValue() would work. Could you set up a jsfilddle to demonstrate your scenario?