Skip to content

bug(mat-date-range-input): Date range input always uses default error state matcher #21205

Closed
@MursalovAltun

Description

@MursalovAltun

Reproduction

Reproduction on stackblitz

Steps to reproduce:

  1. Focus in date range picker input
  2. Focus out

Expected Behavior

Expected date range picker input to not be shown as invalid

Actual Behavior

Date range picker does not use custom ErrorStateMatcher instead uses own _defaultErrorStateMatcher as errorStateMatcher and displays input as invalid

Environment

  • Angular: 10
  • CDK/Material: 10
  • Browser(s): Google Chrome Version 87.0.4280.66 (Official Build) (64-bit)
  • Operating System (e.g. Windows, macOS, Ubuntu): Ubuntu

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/datepicker

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions