Combo + freetext

Hi all!
I just tried to load combo with freetext.

myCombo.allowFreeText(true);

After saving i want to display my freetext as the selected option:

var my_value = fromDatabase();
myForm.setItemValue("my_combo", my_value);

This approach doesn’t work.
My freetext is not selected and not displayed.
Instead the first combo item is shown.

How can i select freeText in combo?
Can you help out?

Hi
There is a special method setComboText() for it:
docs.dhtmlx.com/api__dhtmlxcombo … otext.html

Thanks very much!

You are welcome!