Bug, feature request, or proposal:
Bug
What is the expected behavior?
Inject the custom provided CustomMatStepperIntl
What is the current behavior?
The default MatStepperIntl is used
What are the steps to reproduce?
- Provide
CustomMatStepperIntl in app.module.ts
{ provide: MatStepperIntl, useClass: CustomMatStepperIntl } - Make a lazy loaded module that imports
MatStepperModule - The default
MatStepperIntl is injected instead (in the lazy loaded module)
What is the use-case or motivation for changing an existing behavior?
I want to translate specific labels for the stepper component as per global level and not by lazy loaded module level.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.1.4
Material 6.4.6
Is there anything else we should know?
The MatPaginatorIntl works as expected... Why should MatStepperIntl work different?
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Inject the custom provided
CustomMatStepperIntlWhat is the current behavior?
The default
MatStepperIntlis usedWhat are the steps to reproduce?
CustomMatStepperIntlin app.module.ts{ provide: MatStepperIntl, useClass: CustomMatStepperIntl }MatStepperModuleMatStepperIntlis injected instead (in the lazy loaded module)What is the use-case or motivation for changing an existing behavior?
I want to translate specific labels for the stepper component as per global level and not by lazy loaded module level.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.1.4
Material 6.4.6
Is there anything else we should know?
The
MatPaginatorIntlworks as expected... Why shouldMatStepperIntlwork different?