@wix/form-public 0.43.0 → 0.44.0
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -21426,7 +21426,7 @@ var useForm3 = ({
|
|
|
21426
21426
|
if (!fieldsByRow.has(row)) {
|
|
21427
21427
|
fieldsByRow.set(row, []);
|
|
21428
21428
|
}
|
|
21429
|
-
fieldsByRow.get(row).push(component);
|
|
21429
|
+
fieldsByRow.get(row).push(React14__default.default.cloneElement(component, { key: field.id }));
|
|
21430
21430
|
});
|
|
21431
21431
|
return Array.from(fieldsByRow.entries()).sort(([rowA], [rowB]) => rowA - rowB).map(([_, elements]) => elements);
|
|
21432
21432
|
}, [formFields, currentView.fields]);
|