How to check form dirty state in <EditForm>?

1 Answer 15 Views
Form
Shubham
Top achievements
Rank 1
Shubham asked on 28 Mar 2022, 01:29 PM
I am using EditForm in one of my module. Based on form state viz., dirty, touched I want to perform some operations, how can I get those events with EditForm ?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 28 Mar 2022, 04:34 PM

Hi Shubham,

You can click Follow on this page to know when such an event becomes available where you could raise the dirty flag: https://feedback.telerik.com/blazor/1508940-add-onupdate-event. For the time being the only way would be to do it yourself with the EditContext and its FieldChanged event.

Regards,
Marin Bratanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Form
Asked by
Shubham
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or