Skip to content

bug(COMPONENT): docs components/tree/examples Tree with dynamic data esample FlatTreeControl deprecated #30125

Open
@xylplm

Description

@xylplm

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

docs components/tree/examples Tree with dynamic data esample FlatTreeControl deprecated

Reproduction

StackBlitz link:
Steps to reproduce:
1.
2.

Expected Behavior

New Example Method

Actual Behavior

FlatTreeControl is deprecated

Flat tree control. Able to expand/collapse a subtree recursively for flattened tree.

@deprecated
Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.

@Breaking-Change — 21.0.0

Environment

  • Angular: 18
  • CDK/Material:18
  • Browser(s): edge
  • Operating System (e.g. Windows, macOS, Ubuntu): windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/tree

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions