Skip to content

Suggestion: Add more specific classes to the buttons in MdDialogConfirm #1622

@mattgrande

Description

@mattgrande

I came across this while writing some E2E tests. It's difficult to target the buttons in the current implementation of MdDialogConfirm, as they are both rendered the same.

I think it would be nice to see some classes added to the buttons, eg, md-dialog-confirm-button and md-dialog-cancel-button to make CSS & testing targeting easier.

If others agree, I'm more than willing to make a PR.

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