This is a migrated thread and some comments may be shown as answers.

DropDownList doesn't respect reset

1 Answer 57 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 28 Apr 2014, 03:38 PM
I've created a demo to show how the Kendo DropDownList does not behave like a standard HTML select when using a Reset button. After clicking reset you can see the standard HTML select changes back to "Select..." and the Kendo one does not. I haven't been able to come up with a workaround yet either. Help is appreciated

http://trykendoui.telerik.com/EVIS

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 29 Apr 2014, 10:37 AM
Hello Ryan,

The DropDownList widget is designed to re-set the initial value of the widget when form reset event is raised. In the demo, you've referenced the value is set to "1" before widget's initialization. You can overcome the described unwanted behavior if you set the value of the widget after its initialization (like it is done with the second select element). Check the updated demo.
Nevertheless, I will log your report for further investigation. If we find a feasible solution for this behavior, we will implement it.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Ryan
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or