Skip to content

Commit 808f8d7

Browse files
authored
chore: reverse set and get
1 parent 675f5de commit 808f8d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ export class UUIInputLockElement extends UUIInputElement {
2222
* @default true
2323
*/
2424
@property({ type: Boolean, reflect: true })
25-
public get locked(): boolean {
26-
return this.#locked;
27-
}
2825
public set locked(lock: boolean) {
2926
this.#locked = lock;
3027
this.tabIndex = lock ? -1 : 0;
3128
}
29+
public get locked(): boolean {
30+
return this.#locked;
31+
}
3232
#locked: boolean = true;
3333

3434
/**

0 commit comments

Comments
 (0)