Skip to content

Commit

Permalink
Merge pull request #1224 from DNNCommunity/release/0.24.2
Browse files Browse the repository at this point in the history
Released v0.24.2
  • Loading branch information
valadas authored Nov 18, 2024
2 parents 7c3b8dd + 87dd101 commit e9b622b
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,13 @@ export class DnnSelect {
}

componentDidLoad() {
this.applySlottedItemsToSelect();
this.setFormValue();
requestAnimationFrame(() => {
var validity = this.select.validity;
var validityMessage = validity.valid ? "" : this.select.validationMessage;
this.internals.setValidity(this.select.validity, validityMessage);
this.applySlottedItemsToSelect();
this.setFormValue();
});
}

// eslint-disable-next-line @stencil-community/own-methods-must-be-private
Expand Down

0 comments on commit e9b622b

Please sign in to comment.