Bug. (Assuming this is something that is intended to be supported)
Select placed within toolbar with sample themes should be colored as to be visible.
Select placed within toolbar with sample themes is not visible.
Plunker demonstrating issue: http://plnkr.co/edit/7Nd4YFZ05mdYt96yp5ir?p=preview
Support placement of selects within toolbars for the default themes, e.g.:
At least through @angular/[email protected] and Chrome 60.0.3107.4.
This might be too special a use case to support, requiring the user to manage the styles for the select in this instance, but given previous work to get the color of select right with the themes (e.g. https://github.com/angular/material2/pull/4883, https://github.com/angular/material2/pull/4568) this would be nice to have.
Is there an update on this issue? I have the same requirement, the use of mat-select
inside a mat-toolbar
.
IMHO the ability to use mat-select
within a toolbar is fundamental.
The issue remains the same, if I wrap the mat-select
into mat-form-field
. The colors of the select element are not readily controllable to work within the toolbar. See also issue #9513, which was just closed due to an issue template formality.
Any updates? looking for the same.
Any updates yet?
Anyone found any workaround for it meanwhile?
Agree that any <mat-form-field>
element should natively fit inside of a <mat-toolbar>
. The work around I have for now is as follows:
mat-toolbar.mat-toolbar mat-form-field.mat-form-field {
font-size: 12px;
label.mat-form-field-label {
font-weight: bold;
}
}
Which will cause a <mat-select>
to look as follows:
Most helpful comment
Any updates? looking for the same.