I implemented the functionality from here to clear text when it doesnt match an item from the datasource however the input is marked valid even though it is marked required. How do I correct this?
1 Answer, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 15 Jun 2015, 12:54 PM
Hello Elliot,
In general, the value method will not trigger change event, which many bindings listen to. I am not exactly sure what exactly is the implementation, but I suppose that you need to trigger change to notify for the update:
widget.value(""); //reset widget
widget.trigger("change");
Be careful to avoid infinitive loop when call trigger("change") in the change event callback.
If the problem still persists, please send us a repro demo.
Regards,
Georgi Krustev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!