Skip to content

[FEATURE] Dynamic default labels for MatSelectSearchOptions #438

@domestack

Description

@domestack

Is your feature request related to a problem? Please describe.
Currently I'm not able to dynamically update default labels, for example when changing language in the application using ngx-translate, without doing full application reload.

Describe the solution you'd like
MatSelectSearchOptions should be loaded dynamically (using BehaviorSubject or similar solution..)

Additional context
Please make MAT_SELECTSEARCH_DEFAULT_OPTIONS token similar to APP_INITIALIZER token where you can provide dynamically loaded values.

InjectionToken<readonly (() => Observable< MatSelectSearchOptions> >

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions