Skip to content

Commit f08b4a1

Browse files
committed
fix(material-experimental/form-field): add filled MDC text field class
1 parent 447f2e6 commit f08b4a1

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
@@ -58,7 +58,7 @@
5858
"@types/youtube": "^0.0.38",
5959
"@webcomponents/custom-elements": "^1.1.0",
6060
"core-js": "^2.6.9",
61-
"material-components-web": "6.0.0-canary.927fa902c.0",
61+
"material-components-web": "6.0.0-canary.c4b4bba96.0",
6262
"rxjs": "^6.5.3",
6363
"systemjs": "0.19.43",
6464
"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)