mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-14 05:28:57 +08:00
fix(checkbox, toggle, radio-group): add initial value
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user