@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.js
CHANGED
|
@@ -14035,7 +14035,7 @@ var FormikButton = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
|
|
|
14035
14035
|
values = _useFormikContext.values,
|
|
14036
14036
|
initialValues = _useFormikContext.initialValues,
|
|
14037
14037
|
isValid = _useFormikContext.isValid;
|
|
14038
|
-
var isDisabled = disabled !== null && disabled !== void 0 ? disabled : isSubmitting ||
|
|
14038
|
+
var isDisabled = disabled !== null && disabled !== void 0 ? disabled : isSubmitting || equals(values, initialValues);
|
|
14039
14039
|
return /*#__PURE__*/React__default.createElement(Button, _extends$2({
|
|
14040
14040
|
disabled: isDisabled,
|
|
14041
14041
|
loading: isSubmitting && isValid,
|