@threadlabs/looma 0.37.3 → 0.37.4
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.
|
@@ -74,7 +74,13 @@ export function connect(host) {
|
|
|
74
74
|
};
|
|
75
75
|
const observer = new MutationObserver(schedule);
|
|
76
76
|
observer.observe(element, { childList: true, subtree: true, attributes: true, attributeFilter: ["aria-describedby", "slot", "id", "role"] });
|
|
77
|
-
|
|
77
|
+
// Track props before deferred rewiring, even when no control is mounted yet.
|
|
78
|
+
const stop = host.effect(() => {
|
|
79
|
+
void host.props.disabled.value;
|
|
80
|
+
void host.props.required.value;
|
|
81
|
+
void host.props.invalid.value;
|
|
82
|
+
schedule();
|
|
83
|
+
});
|
|
78
84
|
wire();
|
|
79
85
|
return () => {
|
|
80
86
|
stop();
|
package/docs/catalog.json
CHANGED
package/package.json
CHANGED
package/vue/editor/index.js
CHANGED
|
@@ -5733,7 +5733,12 @@ function connect$9(host) {
|
|
|
5733
5733
|
"role"
|
|
5734
5734
|
]
|
|
5735
5735
|
});
|
|
5736
|
-
const stop = host.effect(
|
|
5736
|
+
const stop = host.effect(() => {
|
|
5737
|
+
host.props.disabled.value;
|
|
5738
|
+
host.props.required.value;
|
|
5739
|
+
host.props.invalid.value;
|
|
5740
|
+
schedule();
|
|
5741
|
+
});
|
|
5737
5742
|
wire();
|
|
5738
5743
|
return () => {
|
|
5739
5744
|
stop();
|