MudBlazor/MudBlazor

MudDataGrid Cell edit mode - Select and Autocomplete not calling CommittedItemChanges

オープン

#6,910 opened on 2023/05/24

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,631 件のフォーク)batch import
bughas workaroundhelp wanted

Repository metrics

Stars
 (10,394 個のスター)
PR merge metrics
 (平均マージ 6d 6h) (30d で 108 merged PRs)

説明

Bug type

Component

Component name

MudDataGrid

What happened?

  • MudDataGrid with DataGridEditMode.Cell
  • Column with MudSelect or MudAutocomplete in EditTemplate
  • Change value of the MudSelect/MudAutocomplete
  • Deselecting MudSelect/MudAutocomplete (by hitting Tab or clicking away)
  • CommittedItemChanges does NOT get called

Problem also occurs in the docs page https://mudblazor.com/components/datagrid#editing

Expected behavior

CommittedItemChanges should get called on blur (losing focus) of the MudSelect/MudAutocomplete

Reproduction link

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

Reproduction steps

  1. MudDataGrid with DataGridEditMode.Cell
  2. Column with MudSelect or MudAutocomplete in EditTemplate
  3. Change value of the MudSelect/MudAutocomplete
  4. Deselecting MudSelect/MudAutocomplete (by hitting Tab or clicking away)
  5. CommittedItemChanges does NOT get called

Relevant log output

No response

Version (bug)

6.2.5

Version (working)

No response

What browsers are you seeing the problem on?

Chrome

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

コントリビューターガイド