You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able configure the default key code list using an injection token. This is already possible with other components such as autocomplete with its MAT_AUTOCOMPLETE_DEFAULT_OPTIONS token.
What is the current behavior?
Chip inputs use [ENTER] as the default separator key code list.
What is the use-case or motivation for changing an existing behavior?
My app has several chip input fields and I have to specify the same list of key codes every time. I don't have much reason to use different lists across different fields since I want my users to be able to expect all chip input fields to behave the same.
The text was updated successfully, but these errors were encountered:
Adds the `MAT_CHIPS_DEFAULT_OPTIONS` injection token that allows consumers to override `separatorKeyCodes`, as well as any other options that we decide to add in the future, for the entire module.
Fixesangular#10256.
Adds the `MAT_CHIPS_DEFAULT_OPTIONS` injection token that allows consumers to override `separatorKeyCodes`, as well as any other options that we decide to add in the future, for the entire module.
Fixes#10256.
…10264)
Adds the `MAT_CHIPS_DEFAULT_OPTIONS` injection token that allows consumers to override `separatorKeyCodes`, as well as any other options that we decide to add in the future, for the entire module.
Fixes#10256.
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
It would be nice to be able configure the default key code list using an injection token. This is already possible with other components such as autocomplete with its
MAT_AUTOCOMPLETE_DEFAULT_OPTIONS
token.What is the current behavior?
Chip inputs use
[ENTER]
as the default separator key code list.What is the use-case or motivation for changing an existing behavior?
My app has several chip input fields and I have to specify the same list of key codes every time. I don't have much reason to use different lists across different fields since I want my users to be able to expect all chip input fields to behave the same.
The text was updated successfully, but these errors were encountered: