@tmagic/form 1.3.0-alpha.14 → 1.3.0-alpha.16

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.
@@ -3030,6 +3030,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3030
3030
  key: 2,
3031
3031
  type: "primary",
3032
3032
  size: "small",
3033
+ disabled: _ctx.disabled,
3033
3034
  loading: saveFetch.value,
3034
3035
  onClick: save
3035
3036
  }, {
@@ -3037,7 +3038,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3037
3038
  createTextVNode(toDisplayString(_ctx.confirmText), 1)
3038
3039
  ]),
3039
3040
  _: 1
3040
- }, 8, ["loading"]))
3041
+ }, 8, ["disabled", "loading"]))
3041
3042
  ])
3042
3043
  ]),
3043
3044
  _: 3
@@ -4060,14 +4061,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4060
4061
  }),
4061
4062
  createVNode(unref(TMagicButton), {
4062
4063
  type: "primary",
4063
- onClick: submitHandler,
4064
- loading: saveFetch.value
4064
+ disabled: _ctx.disabled,
4065
+ loading: saveFetch.value,
4066
+ onClick: submitHandler
4065
4067
  }, {
4066
4068
  default: withCtx(() => [
4067
4069
  createTextVNode(toDisplayString(_ctx.confirmText), 1)
4068
4070
  ]),
4069
4071
  _: 1
4070
- }, 8, ["loading"])
4072
+ }, 8, ["disabled", "loading"])
4071
4073
  ])
4072
4074
  ]),
4073
4075
  _: 3