Detecting A Form Has Changed #5031
Replies: 3 comments 14 replies
-
You can hook into the OnFieldChanged on an EditContext. The EditContext API can be find on the |
Beta Was this translation helpful? Give feedback.
-
Another option, without explicitly using our apis, which I personally usually use for simply checking for changes in a
This should at least makes sure that the |
Beta Was this translation helpful? Give feedback.
-
Just tried & got the error : why are data annotations needed for detecting a change to a field (not validating what is in a field)? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've been asked to dynamically show a "save your changes" message when a form has been changed from it's initial state (new or edit), separately from validating the form. I discovered Blazor has an EditForm with an OnFieldChanged event. Is there something built into Blazorise like this?
Thanks,
Orion
Beta Was this translation helpful? Give feedback.
All reactions