@bigbinary/neetoui 5.0.9 → 5.0.10
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/formik.cjs.js +1 -1
- package/formik.cjs.js.map +1 -1
- package/formik.js +1 -1
- package/formik.js.map +1 -1
- package/package.json +1 -1
package/formik.cjs.js
CHANGED
|
@@ -14062,7 +14062,7 @@ var FormikButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
14062
14062
|
values = _useFormikContext.values,
|
|
14063
14063
|
initialValues = _useFormikContext.initialValues,
|
|
14064
14064
|
isValid = _useFormikContext.isValid;
|
|
14065
|
-
var isDisabled = disabled !== null && disabled !== void 0 ? disabled : isSubmitting ||
|
|
14065
|
+
var isDisabled = disabled !== null && disabled !== void 0 ? disabled : isSubmitting || equals(values, initialValues);
|
|
14066
14066
|
return /*#__PURE__*/React__default["default"].createElement(Button, _extends$2({
|
|
14067
14067
|
disabled: isDisabled,
|
|
14068
14068
|
loading: isSubmitting && isValid,
|