Skip to content

Commit

Permalink
fix(value): correct value stored when selecting from menu #95
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Sep 6, 2022
1 parent 15f7b7d commit ed612c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/auro-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class AuroSelect extends LitElement {
const triggerContentEl = dropdown.querySelector('#triggerFocus');

this.optionSelected = this.menu.optionSelected;
this.value = this.optionSelected.value;
triggerContentEl.innerHTML = this.optionSelected.innerHTML;

this.removeAttribute('error');
Expand Down

0 comments on commit ed612c7

Please sign in to comment.