feat(MatDateRangeInput): export MAT_DATE_RANGE_INPUT_PARENT with DatePicker Module #30238
Labels
feature
This issue represents a new feature or feature request rather than a bug or bug fix
needs triage
This issue needs to be triaged by the team
Feature Description
I'm trying to extend MatDateRangeInput component and I wanna provide MAT_DATE_RANGE_INPUT_PARENT to use my extended class instead,
the issue here is the MAT_DATE_RANGE_INPUT_PARENT is not exported with DatePicker Module, is the any chance to export it so it wll be easy to use it.
Thanks
Use Case
import {MAT_DATE_RANGE_INPUT_PARENT , MatDateRangeInput} from '@angular/material/datepicker';
// MAT_DATE_RANGE_INPUT_PARENT is not exported from datepicker
@component({
providers: [
{ provide: MAT_DATE_RANGE_INPUT_PARENT , useExisting: CSDateRangeInput },
],
})
export class CSDateRangeInput extends MatDateRangeInput{}
The text was updated successfully, but these errors were encountered: