fix(checkbox, toggle, radio-group): add initial value

This commit is contained in:
Maria Hutt
2025-11-03 15:36:56 -08:00
parent cde3f14c2a
commit 44c635d0a6
6 changed files with 13 additions and 4 deletions

View File

@@ -174,6 +174,7 @@ export class Checkbox implements ComponentInterface {
* a higher priority.
*/
Promise.resolve().then(() => {
console.log('updating hint text id');
this.hintTextID = this.getHintTextID();
});
}
@@ -193,6 +194,8 @@ export class Checkbox implements ComponentInterface {
this.inheritedAttributes = {
...inheritAriaAttributes(this.el),
};
this.hintTextID = this.getHintTextID();
}
disconnectedCallback() {