@mintjamsinc/ichigojs 0.1.48 → 0.1.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10694,6 +10694,14 @@ class VModelDirective {
10694
10694
  * @inheritdoc
10695
10695
  */
10696
10696
  get onMounted() {
10697
+ const element = this.#vNode.node;
10698
+ // For select elements, re-apply value after mount to ensure
10699
+ // options (e.g., generated by v-for) are present in the DOM.
10700
+ if (element instanceof HTMLSelectElement) {
10701
+ return () => {
10702
+ this.#render();
10703
+ };
10704
+ }
10697
10705
  return undefined;
10698
10706
  }
10699
10707
  /**
@@ -10706,6 +10714,14 @@ class VModelDirective {
10706
10714
  * @inheritdoc
10707
10715
  */
10708
10716
  get onUpdated() {
10717
+ const element = this.#vNode.node;
10718
+ // For select elements, re-apply value after children are updated
10719
+ // to ensure dynamically generated options are available.
10720
+ if (element instanceof HTMLSelectElement) {
10721
+ return () => {
10722
+ this.#render();
10723
+ };
10724
+ }
10709
10725
  return undefined;
10710
10726
  }
10711
10727
  /**