#12856·MudBlazor

MudDataGrid: CanceledEditingItem is not triggered when closing FormMode dialog by clicking outside

Author: gemse007Created Mar 13, 2026Updated Sep 17, 2026
Labelsbug

Before reporting

  • I searched existing issues
  • I tried in private/incognito browser

What went wrong?

When I use MudDataGrid with FormMode there are events triggered for StartedEditingItem, CanceledEditingItem and CommittedItemChanges. The CanceledEditingItem is unfortunately only fired if Cancel is clicked, but the Dialog also closes when you click somewhere outside the Dialog (kind of auto-closing).

Reproduction link

https://try.mudblazor.com/snippet/maGKaHFxHxUrCQgh

Reproduction steps

  1. Click Add Item -> Form opens
  2. Click outside the dialog -> Form closes -> Event is not triggered

Version (bug)

v9.1

Version (working)

No response

Environment

Edge

Blazor rendering mode

WASM