Skip to content

Commit

Permalink
fix(angular): persist select disabled state in item with IonicModule
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-perkins committed May 2, 2024
1 parent ba5cebf commit df5b5f8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions core/src/components/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ export class Select implements ComponentInterface {
this.ionChange.emit({ value });
}

componentWillLoad() {
this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
}

async connectedCallback() {
const { el } = this;

Expand All @@ -270,6 +266,14 @@ export class Select implements ComponentInterface {
});
}

componentWillLoad() {
this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
}

componentDidLoad() {
this.emitStyle();
}

disconnectedCallback() {
if (this.mutationO) {
this.mutationO.disconnect();
Expand Down

0 comments on commit df5b5f8

Please sign in to comment.