Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to Prevent Values Changed Through Inspect Element From Setting a Bool

$
0
0

I am using EditContext.IsModified() to set a bool that tracks if there are any unsaved changes on the page. When altering values through Inspect Element, unsaved changes are detected and the bool is set.

Is there a workaround to prevent changes through the inspector from setting the bool? Is there a better way to approach tracking unsaved changes in an EditForm?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>