Datepicker - Firefox displaying red box-shadow when "required" attribute added to matEndDate input #20483
Labels
area: material/datepicker
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Reproduction
Use StackBlitz to reproduce your issue:
https://stackblitz.com/edit/angular-gp6jmx?file=src%2Fapp%2Fdate-range-picker-forms-example.html
Steps to reproduce:
`
Enter a date range
<mat-date-range-input [formGroup]="range" [rangePicker]="picker" >
<mat-datepicker-toggle matSuffix [for]="picker">
<mat-date-range-picker #picker>
<mat-error *ngIf="range.controls.start.hasError('matStartDateInvalid')">Invalid start date
<mat-error *ngIf="range.controls.end.hasError('matEndDateInvalid')">Invalid end date
`
Expected Behavior
Shouldn't be able to see the input border.
Actual Behavior
In Firefox, can see the red required box shadow until
Environment
The text was updated successfully, but these errors were encountered: