Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

ngClass behavior change after latest nightly #428

@naveedahmed1

Description

@naveedahmed1

With latest release the below code is working perfectly:

<button mat-raised-button color="primary" type="submit" [ngClass]="{'btn-xs':formButtonXs}">Save</button>

But with latest nightly build, it no longer seems to work.

When value of formButtonXs is true the button has below classes:

mat-primary btn-xs

When value of formButtonXs is false the button has just below class:

mat-primary

Expected behavior

It should have mat-raised-button mat-primary when formButtonXs is false whereas, mat-raised-button mat-primary btn-xs when formButtonXs is true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions