Skip to content

MdDatepickerToggle not working well after disable its input associated (template driven forms) #6974

Closed
@rafaelss95

Description

@rafaelss95

Bug, feature request, or proposal:

Bug.

What is the expected behavior?

md-datepicker-toggle should respect the input state.

What is the current behavior?

Described below.

What are the steps to reproduce?

1 - Click "Enable/disable" input... now the input is disabled;
2 - Press the md-datepicker-toggle (yes it's still enabled)... nothing will happen and after you click it'll be disabled;
3 - Click "Enable/disable" input... now the input is enabled;
4 - md-datepicker-toggle button is disabled now always.

Providing a Plunker (or similar) is the best way to get the team to see your issue.
https://plnkr.co/edit/gpldSaRYwQDRKIHMOsHu?p=preview

Related to #6973.

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