Skip to content

feat(button-toggle): should support form field control #32928

@Nosfistis

Description

@Nosfistis

Feature Description

The <mat-button-toggle-group> should support being used as a form field control, as it supports @angular/forms. This means that it should implement MatFormFieldControl, as it already implements ControlValueAccessor.

Use Case

I am using <mat-button-toggle-group with <mat-form-field>, however displaying <mat-error> next to it lacks the necessary CSS due to <mat-error> not being nested in <mat-form-field>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: material/button-togglefeatureLabel used to distinguish feature request from other issuesgemini-triagedLabel noting that an issue has been triaged by geminineeds triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions