Skip to content

Disable state for ReactiveForms not working correctly #17985

Open
@kevinclerc

Description

@kevinclerc

Mini app sample which shows the problem:
https://stackblitz.com/edit/angular-mbvopj

Expected Behavior

When I toggle the disable state, I expect, that all fields are disabled

Actual Behavior

Only the text field gets disabled but the mat-select stays enabled.
Ps: The same happens with mat-slide-toggle as well.

Environment

  • Angular: 8.0.0
  • CDK/Material: 8.2.3
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): MacOS / 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: material/selectformsThis issue is related to Angular Forms integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions