From b515dcda79d3552b041ee9456043235de26b2558 Mon Sep 17 00:00:00 2001 From: Material Web Team Date: Tue, 10 Sep 2024 12:23:42 -0700 Subject: [PATCH] feat(field): add `container` slot to textfield and field PiperOrigin-RevId: 673060991 --- field/internal/field.ts | 1 + textfield/internal/text-field.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/field/internal/field.ts b/field/internal/field.ts index 345e146358..49190ca893 100644 --- a/field/internal/field.ts +++ b/field/internal/field.ts @@ -132,6 +132,7 @@ export class Field extends LitElement { return html`
+ ${this.renderBackground?.()} ${this.renderIndicator?.()} ${outline}
diff --git a/textfield/internal/text-field.ts b/textfield/internal/text-field.ts index fa89767692..10db77a40f 100644 --- a/textfield/internal/text-field.ts +++ b/textfield/internal/text-field.ts @@ -569,6 +569,7 @@ export abstract class TextField extends textFieldBaseClass { ${this.renderInputOrTextarea()} ${this.renderTrailingIcon()}
+ `; }