@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.
@@ -218,9 +218,7 @@
218
218
  return component;
219
219
  return "m-fields-text";
220
220
  });
221
- const disabled = vue.computed(
222
- () => typeof props.disabled === "undefined" ? filterFunction(mForm, props.config.disabled, props) : props.disabled
223
- );
221
+ const disabled = vue.computed(() => props.disabled || filterFunction(mForm, props.config.disabled, props));
224
222
  const tooltip = vue.computed(() => filterFunction(mForm, props.config.tooltip, props));
225
223
  const extra = vue.computed(() => filterFunction(mForm, props.config.extra, props));
226
224
  const rule = vue.computed(() => getRules(mForm, props.config.rules, props));