LabsLab 02 · Beginner · 15 min
Forms and transactional dialogs
Validate input and commit a draft only when a dialog is confirmed.
A record with a draft
1/1/2026 · 18 °C · Freezing
The dialog edits a copy. Cancel leaves this record unchanged.
Why it works
EditForm validates data annotations. MudBlazor For expressions connect field feedback to the model. Editing a copy keeps Cancel meaningful.
Try it yourself
Clear Summary and try saving. Then change a value and cancel. The displayed record should stay unchanged.