Form setValue in combo with required


#1

Hi,

I have a combo in a form.
combo is populated.
combo is required

however, if i set the value in form , the form doesn’t detect that the value is set

https://snippet.dhtmlx.com/9afr7r6v

when I click the button, it say it’s invalid …

what am i doing wrong ?

best regards


#2

Please, note, that the value should be a string:
https://snippet.dhtmlx.com/q5d4idfs


#3

Ok this point is solved,

Thx