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

Multiselect does not reset on form.reset()

4 Answers 370 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
ICT
Top achievements
Rank 1
ICT asked on 23 May 2013, 12:30 PM
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

Sort by
0
Daniel
Telerik team
answered on 27 May 2013, 09:43 AM
Hello,

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
Daniel
Telerik team
answered on 31 May 2013, 06:53 AM
Hello Janne,

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.
Tags
MultiSelect
Asked by
ICT
Top achievements
Rank 1
Answers by
Daniel
Telerik team
ICT
Top achievements
Rank 1
Share this question
or