Set Initial Value of ComboBox

Hi,


You can set a value to the combobox at the start?


Regards!

3 Replies

KV Karthikeyan Viswanathan Syncfusion Team September 13, 2018 04:19 AM UTC

Hi Corazon, 

Thanks for contacting Syncfusion support. 

Based on your scenario, you can set the values by using value property in combo box control. 

Please refer the below code example: 

<code> 
<ej-combo-box id="Localdata" datasource="datasource" placeholder="Select a game" value=” Cricket
> <e-combo-box-fields text="text"/> </ej-combo-box> 


</code> 


Regards, 
Karthikeyan V. 



CC Corazon Cruz Sanchez September 19, 2018 10:30 PM UTC

Thank you!!

My question was resolved



KV Karthikeyan Viswanathan Syncfusion Team September 20, 2018 04:24 AM UTC

Hi Corazon, 
 
Thanks for the update. 
 
We are glad to hear that your issue has been resolved. 
 
Regards, 
Karthikeyan V. 


Loader.
Up arrow icon