@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.
- package/dist/ichigo.cjs +16 -0
- package/dist/ichigo.cjs.map +1 -1
- package/dist/ichigo.esm.js +16 -0
- package/dist/ichigo.esm.js.map +1 -1
- package/dist/ichigo.esm.min.js +1 -1
- package/dist/ichigo.min.cjs +1 -1
- package/dist/ichigo.umd.js +16 -0
- package/dist/ichigo.umd.js.map +1 -1
- package/dist/ichigo.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/ichigo.cjs
CHANGED
|
@@ -10700,6 +10700,14 @@
|
|
|
10700
10700
|
* @inheritdoc
|
|
10701
10701
|
*/
|
|
10702
10702
|
get onMounted() {
|
|
10703
|
+
const element = this.#vNode.node;
|
|
10704
|
+
// For select elements, re-apply value after mount to ensure
|
|
10705
|
+
// options (e.g., generated by v-for) are present in the DOM.
|
|
10706
|
+
if (element instanceof HTMLSelectElement) {
|
|
10707
|
+
return () => {
|
|
10708
|
+
this.#render();
|
|
10709
|
+
};
|
|
10710
|
+
}
|
|
10703
10711
|
return undefined;
|
|
10704
10712
|
}
|
|
10705
10713
|
/**
|
|
@@ -10712,6 +10720,14 @@
|
|
|
10712
10720
|
* @inheritdoc
|
|
10713
10721
|
*/
|
|
10714
10722
|
get onUpdated() {
|
|
10723
|
+
const element = this.#vNode.node;
|
|
10724
|
+
// For select elements, re-apply value after children are updated
|
|
10725
|
+
// to ensure dynamically generated options are available.
|
|
10726
|
+
if (element instanceof HTMLSelectElement) {
|
|
10727
|
+
return () => {
|
|
10728
|
+
this.#render();
|
|
10729
|
+
};
|
|
10730
|
+
}
|
|
10715
10731
|
return undefined;
|
|
10716
10732
|
}
|
|
10717
10733
|
/**
|