@saasquatch/mint-components 1.14.7-7 → 1.14.7-9
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/dist/cjs/sqm-big-stat_43.cjs.entry.js +2 -1
- package/dist/collection/components/sqm-lead-form/useLeadForm.js +2 -1
- package/dist/esm/sqm-big-stat_43.entry.js +2 -1
- package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/{p-fb0c586d.entry.js → p-41c0d386.entry.js} +1 -1
- package/dist/mint-components/p-cbbd0d6f.system.entry.js +1 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/mint-components/p-bddf7783.system.entry.js +0 -1
|
@@ -1477,7 +1477,8 @@ function useLeadForm(props) {
|
|
|
1477
1477
|
validationErrors: {},
|
|
1478
1478
|
});
|
|
1479
1479
|
(_b = (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.getFormControls()) === null || _b === void 0 ? void 0 : _b.forEach((c) => {
|
|
1480
|
-
|
|
1480
|
+
var _a;
|
|
1481
|
+
if (((_a = c.input) === null || _a === void 0 ? void 0 : _a.type) === "checkbox") {
|
|
1481
1482
|
c.checked = false;
|
|
1482
1483
|
c.value = false;
|
|
1483
1484
|
}
|
|
@@ -113,7 +113,8 @@ export function useLeadForm(props) {
|
|
|
113
113
|
validationErrors: {},
|
|
114
114
|
});
|
|
115
115
|
(_b = (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.getFormControls()) === null || _b === void 0 ? void 0 : _b.forEach((c) => {
|
|
116
|
-
|
|
116
|
+
var _a;
|
|
117
|
+
if (((_a = c.input) === null || _a === void 0 ? void 0 : _a.type) === "checkbox") {
|
|
117
118
|
c.checked = false;
|
|
118
119
|
c.value = false;
|
|
119
120
|
}
|
|
@@ -1473,7 +1473,8 @@ function useLeadForm(props) {
|
|
|
1473
1473
|
validationErrors: {},
|
|
1474
1474
|
});
|
|
1475
1475
|
(_b = (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.getFormControls()) === null || _b === void 0 ? void 0 : _b.forEach((c) => {
|
|
1476
|
-
|
|
1476
|
+
var _a;
|
|
1477
|
+
if (((_a = c.input) === null || _a === void 0 ? void 0 : _a.type) === "checkbox") {
|
|
1477
1478
|
c.checked = false;
|
|
1478
1479
|
c.value = false;
|
|
1479
1480
|
}
|