Skip to content

Commit

Permalink
still bind native
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe committed Aug 20, 2024
1 parent 2f241f3 commit 45d60a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/uui-input/lib/uui-input.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 45d60a8

Please sign in to comment.