Disable all inputs on kendo form

1 Answer 44 Views
Form
Sean
Top achievements
Rank 1
Sean asked on 10 Jan 2024, 06:41 PM
Hello.

I have a custom submit() method for my kendoForm. I want to programmatically go through the form and disable all inputs on the form when I submit.  how can I achieve this? 

1 Answer, 1 is accepted

Sort by
1
Accepted
Martin
Telerik team
answered on 15 Jan 2024, 09:56 AM

Hello, Sean,

You can consider the approach in this Dojo example

Let me know if that would work for you.

Regards,
Martin
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Sean
Top achievements
Rank 1
commented on 15 Jan 2024, 04:21 PM

Yes this works great. Thank you.

As an aside: is there anywhere in the documentation that describes what properties are exposed by the kendo components that I can call using jquery? In other words:  Is there any documentation for what functions and fields something like `$("[data-role]")` makes available to the developer?
Martin
Telerik team
commented on 18 Jan 2024, 11:58 AM

Hello, Sean,

Currently we do not have documentation about the attributes that are created with the Kendo components. All of them have a data-role attribute, which is most commonly used when trying to select an element. Other attributes vary based on the component itself. You can easily inspect them in the browser.

Tags
Form
Asked by
Sean
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or