-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
fix(material/autocomplete): apply theme of parent form field to panel #25983
Conversation
ca45c69
to
862c1de
Compare
862c1de
to
a9b34c9
Compare
@crisbeto I've responded to PR comments, and this is ready for your eyes again 👀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -122,6 +123,14 @@ export abstract class _MatAutocompleteBase | |||
} | |||
_isOpen: boolean = false; | |||
|
|||
/** Sets the theme color of the panel. @docs-private */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: put jsdoc tag at beginning of the line:
@docs-private Sets the theme color of the panel.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
a9b34c9
to
e6f1045
Compare
Apply the theme of the autocomplete's parent form field to its panel. Fix issue where theme color only applies to the input, and does not affect the panel.
e6f1045
to
4f55dae
Compare
Fixed crash when formField is null 🤦 . |
I sent out #26009 to improve typing to help prevent further mistakes when injected properties are null. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Apply the theme of the autocomplete's parent form field to its panel. Fix issue where theme color only applies to the input, and does not affect the panel.