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

display selected value instead of WatermarkText

Hello everybody!

through the model I get ID (for example 12) of my selected DDL element value, but the control does not display the selected element, and displays the WatermarkText.

how display selected element text instead of WatermarkText?


1 Reply

GG Gopi Govindasamy Syncfusion Team January 9, 2017 12:58 PM UTC

Hi John, 

Thanks for using Syncfusion Products. 

We are not able to reproduced the reported issue for “display selected value instead of WatermarkText”. We have prepared sample for your requirement for selected item displayed in the dropdownlist. We have attached sample below link.  

<code> 
 
var obj = $("#bikeList").data("ejDropDownList"); 
obj.setSelectedText("Discover"); 

</code> 

  
Please provide us with an issue reproducing sample along with replication steps. It will help us isolate the root cause and provide a solution. 
 
Regards, 
Gopi G. 


Loader.
Live Chat Icon For mobile
Up arrow icon