Skip to content

Commit 675f5de

Browse files
iOvergaardCopilot
andauthored
Update packages/uui-input-lock/lib/uui-input-lock.element.ts
Co-authored-by: Copilot <[email protected]>
1 parent 8c89e7e commit 675f5de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/uui-input-lock/lib/uui-input-lock.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class UUIInputLockElement extends UUIInputElement {
6767
this.pristine = false;
6868
this.dispatchEvent(new UUIInputLockEvent(UUIInputLockEvent.LOCK_CHANGE));
6969
if (!this.locked) {
70-
this.shadowRoot?.querySelector('input')?.focus();
70+
this._input?.focus();
7171
}
7272
}
7373

0 commit comments

Comments
 (0)