From 45d60a8f817a2f7ffcd2600b98bf28533ccfe7e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Tue, 20 Aug 2024 11:07:43 +0200 Subject: [PATCH] still bind native --- packages/uui-input/lib/uui-input.element.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/uui-input/lib/uui-input.element.ts b/packages/uui-input/lib/uui-input.element.ts index fe242ab15..124036f97 100644 --- a/packages/uui-input/lib/uui-input.element.ts +++ b/packages/uui-input/lib/uui-input.element.ts @@ -224,6 +224,10 @@ export class UUIInputElement extends UUIFormControlMixin( () => this.maxlengthMessage, () => !!this.maxlength && String(this.value).length > this.maxlength, ); + + this.updateComplete.then(() => { + this.addFormControlElement(this._input); + }); } private _onKeypress(e: KeyboardEvent): void {