@adiba-banking-cloud/backoffice 0.0.88 → 0.0.90

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.
@@ -13284,7 +13284,10 @@ const SimpleForm = _ref => {
13284
13284
  };
13285
13285
  return /*#__PURE__*/React.createElement("form", {
13286
13286
  onSubmit: form$1.onSubmit(values => hasSubmit ? rest.onSubmit?.(values) : void 0),
13287
- onReset: form$1.reset,
13287
+ onReset: () => {
13288
+ form$1.reset();
13289
+ hasReset ? rest.onCancel?.() : void 0;
13290
+ },
13288
13291
  style: {
13289
13292
  height: "100%"
13290
13293
  }
@@ -13263,7 +13263,10 @@ const SimpleForm = _ref => {
13263
13263
  };
13264
13264
  return /*#__PURE__*/React.createElement("form", {
13265
13265
  onSubmit: form.onSubmit(values => hasSubmit ? rest.onSubmit?.(values) : void 0),
13266
- onReset: form.reset,
13266
+ onReset: () => {
13267
+ form.reset();
13268
+ hasReset ? rest.onCancel?.() : void 0;
13269
+ },
13267
13270
  style: {
13268
13271
  height: "100%"
13269
13272
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adiba-banking-cloud/backoffice",
3
3
  "author": "TUROG Technologies",
4
- "version": "0.0.88",
4
+ "version": "0.0.90",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",