MudBlazor/MudBlazor

MudTable - Multi level grouping not in sync with items selected

Fermée

#9 474 ouverte le 22 juil. 2024

 (1 commentaire) (0 réaction) (0 personne assignée)C# (1 631 forks)batch import
buggood first issue

Métriques du dépôt

Stars
 (10 394 étoiles)
Métriques de merge PR
 (Merge moyen 6j 6h) (108 PRs mergées en 30 j)

Description

Things to check

  • I have searched the existing issues for this bug
  • To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type

Component

Component name

MudTable

What happened?

A MudTable with multi level grouping and multi selection does not mark nested groupings as selected unless another row-expansion is performed. Exact same issue as https://github.com/MudBlazor/MudBlazor/issues/5759, but for multi level groupings.

Expected behavior

Intermediate groupings should be able to render their selection state checkbox regardless of whether the innermost group is expanded or not.

Reproduction link

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

Reproduction steps

  1. Select a top level grouping
  2. Expand top level grouping
  3. Observe that nested groupings do not show as being selected
  4. Expand nested grouping
  5. Observe that all groupings now show the correct selection state

Relevant log output

No response

Version (bug)

7.3.0

Version (working)

No response

What browsers are you seeing the problem on?

Firefox, Chrome

On which operating systems 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

Guide contributeur