Skip to content

feat(date-range-picker): allow disabling one half of the range input #21773

Open
@mmalerba

Description

@mmalerba

Feature Description

The user should be able to disable one half of the date range input (either the start or end date) but still allow a user to select a value for the other. Currently the date range picker acts broken if we try to disable one half: https://stackblitz.com/edit/angular-aihygj?file=src/app/date-range-picker-forms-example.html

Use Case

This supports use cases where the user needs to select a range, but the start or end date is fixed for some reason, e.g. editing a hotel reservation where its too late to change the check in date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/datepickerfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions