I've got html form and Kendo UI Multiselect in it. In js function i will reset form by usin form.reset(). How do i clear user made selections of it? It seems that selected values are still visible but my Kendo UI validator gives me required error.
4 Answers, 1 is accepted
0
Hello,
Daniel
Telerik
The value should automatically be cleared by the multiselect widget when the form is being reset. Could you check this jsBin example and this screen cast and let me know if I am missing something?
Regards,Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
ICT
Top achievements
Rank 1
answered on 29 May 2013, 05:29 AM
This Multiselect is outside of form in DOM but it's using new html5 form attribute and its included to my form like that. It'seems that reset does not work in this case.
0
Accepted
Hello Janne,
Daniel
Telerik
Currently the form attribute is not supported by the input widgets. I have logged this in our system and we will add support for future versions. For now I can suggest either to use the MultiSelect within the form or use the value method to clear the value.
Regards,Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
ICT
Top achievements
Rank 1
answered on 07 Jun 2013, 06:47 AM
Thank you for your answers. Using value method works for this.