Skip to content

Commit 0bd1e4a

Browse files
authored
fix(material-experimental/form-field): add filled MDC text field class (#19103)
1 parent a6deed7 commit 0bd1e4a

File tree

3 files changed

+528
-527
lines changed

3 files changed

+528
-527
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@types/youtube": "^0.0.38",
5858
"@webcomponents/custom-elements": "^1.1.0",
5959
"core-js": "^2.6.9",
60-
"material-components-web": "6.0.0-canary.927fa902c.0",
60+
"material-components-web": "6.0.0-canary.c4b4bba96.0",
6161
"rxjs": "^6.5.3",
6262
"systemjs": "0.19.43",
6363
"tslib": "^1.10.0",

src/material-experimental/mdc-form-field/form-field.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
</ng-template>
3434

3535
<div class="mat-mdc-text-field-wrapper mdc-text-field" #textField
36+
[class.mdc-text-field--filled]="!_hasOutline()"
3637
[class.mdc-text-field--outlined]="_hasOutline()"
3738
[class.mdc-text-field--no-label]="!_hasFloatingLabel()"
3839
[class.mdc-text-field--disabled]="_control.disabled"

0 commit comments

Comments
 (0)