Skip to content

Commit 8cf814b

Browse files
authored
use firstUpdated for label feedback (#1107)
1 parent 4392ef9 commit 8cf814b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/uui-base/lib/mixins/LabelMixin.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ export const LabelMixin = <T extends Constructor<LitElement>>(
3737
@property({ type: String })
3838
public label!: string;
3939

40-
connectedCallback() {
41-
super.connectedCallback();
40+
firstUpdated() {
4241
if (!this.label) {
4342
console.warn(this.tagName + ' needs a `label`', this);
4443
}

0 commit comments

Comments
 (0)