@tmagic/form 1.2.0-beta.23 → 1.2.0-beta.24
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/tmagic-form.js
CHANGED
|
@@ -215,9 +215,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
215
215
|
return component;
|
|
216
216
|
return "m-fields-text";
|
|
217
217
|
});
|
|
218
|
-
const disabled = computed(
|
|
219
|
-
() => typeof props.disabled === "undefined" ? filterFunction(mForm, props.config.disabled, props) : props.disabled
|
|
220
|
-
);
|
|
218
|
+
const disabled = computed(() => props.disabled || filterFunction(mForm, props.config.disabled, props));
|
|
221
219
|
const tooltip = computed(() => filterFunction(mForm, props.config.tooltip, props));
|
|
222
220
|
const extra = computed(() => filterFunction(mForm, props.config.extra, props));
|
|
223
221
|
const rule = computed(() => getRules(mForm, props.config.rules, props));
|