Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend MatFormFieldDefaultOptions with color. #24438

Closed
infacto opened this issue Feb 17, 2022 · 1 comment · Fixed by #24440
Closed

Extend MatFormFieldDefaultOptions with color. #24438

infacto opened this issue Feb 17, 2022 · 1 comment · Fixed by #24440
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@infacto
Copy link

infacto commented Feb 17, 2022

Setting color on every element:

<mat-form-field color="accent" />

could be replaced by global setting in app module:

{ provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { appearance: 'fill', color: 'accent' } }
@JoostK JoostK transferred this issue from angular/angular Feb 17, 2022
lekhmanrus added a commit to lekhmanrus/components that referenced this issue Feb 18, 2022
lekhmanrus added a commit to lekhmanrus/components that referenced this issue Feb 18, 2022
lekhmanrus added a commit to lekhmanrus/components that referenced this issue Feb 18, 2022
lekhmanrus added a commit to lekhmanrus/components that referenced this issue Feb 20, 2022
lekhmanrus added a commit to lekhmanrus/components that referenced this issue Feb 21, 2022
@crisbeto crisbeto added feature This issue represents a new feature or feature request rather than a bug or bug fix has pr P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent labels Feb 21, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 26, 2022
forsti0506 pushed a commit to forsti0506/components that referenced this issue Apr 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants