@angular/material 15.2.7 → 15.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4220,9 +4220,7 @@ class MatDateRangeInput {
4220
4220
  // The datepicker module can be used both with MDC and non-MDC form fields. We have
4221
4221
  // to conditionally add the MDC input class so that the range picker looks correctly.
4222
4222
  if (_formField?._elementRef.nativeElement.classList.contains('mat-mdc-form-field')) {
4223
- const classList = _elementRef.nativeElement.classList;
4224
- classList.add('mat-mdc-input-element');
4225
- classList.add('mat-mdc-form-field-input-control');
4223
+ _elementRef.nativeElement.classList.add('mat-mdc-input-element', 'mat-mdc-form-field-input-control', 'mdc-text-field__input');
4226
4224
  }
4227
4225
  // TODO(crisbeto): remove `as any` after #18206 lands.
4228
4226
  this.ngControl = control;