We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

"ejs-for" for "ejs-combobox"

Hi!
I can not find information about "ejs-for" for "ejs-combobox".
I need to write to the property string the value selected by the user in the combobox.
There is a possibility?
If not, how to do it alternatively?

In thread id 139858 there is no such information.

---

Plus:
How to set automatic selection (cases)
a) a static value, e.g. "XYZ";
b) values in the property string in the model (the same property to which we want to pin the user's choice of data);
?

1 Reply

PO Prince Oliver Syncfusion Team March 18, 2019 10:58 AM UTC

Hi Patryk, 

Thank you for contacting Syncfusion support. 

We have documented about ejs-for with ComboBox component in the following UG documentation link: https://ej2.syncfusion.com/aspnetcore/documentation/combo-box/how-to/ejfor/  

You can preselect or set static values in the control using the value property, kindly refer to the following API reference link: https://ej2.syncfusion.com/documentation/api/combo-box#value  

You can select the value using the model binding from the server side. We have attached an example for your reference, please find the sample at the following location: http://www.syncfusion.com/downloads/support/directtrac/222638/ze/EssentialJS2WebApplication1-613658041  

Please let us know if you need any further assistance on this. 

Regards, 
Prince   


Loader.
Up arrow icon