show default value in a combo

Hi,

I have the next code in the line included in the default page aspx in my project.

Now this combo doesn’t show the default value and my goal is show a default value in the combo

Code: { id: “targ”, view: “combo”, name: “targOr”, label: “Targ (Or)”, labelWidth: 150, options: “Pepeas.aspx?t=relaunches”, required: true },

Is it possible show the default value in the combo with Webix framework?

Is this the only option doing including this option in Pepeas.aspx?

Thanks in advance

Regards

Hello @jmcarne ,

Is it possible show the default value in the combo with Webix framework?

The default value for the combo control can be set directly in its configuration object via the value property (in order to do that you will need to know the exact ID beforehand):
https://snippet.webix.com/nuwfdtp8
Or you can set the value based on the index of the item you want to select. Please check: Code Snippet

Hi,
I’ve tested with the second option commented but it doesn’t work
Is it possible put a property value in the same line to collect and show the default value in combo?
Thanks in advance