@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.js
CHANGED
|
@@ -21418,7 +21418,7 @@ var useForm3 = ({
|
|
|
21418
21418
|
if (!fieldsByRow.has(row)) {
|
|
21419
21419
|
fieldsByRow.set(row, []);
|
|
21420
21420
|
}
|
|
21421
|
-
fieldsByRow.get(row).push(component);
|
|
21421
|
+
fieldsByRow.get(row).push(React14.cloneElement(component, { key: field.id }));
|
|
21422
21422
|
});
|
|
21423
21423
|
return Array.from(fieldsByRow.entries()).sort(([rowA], [rowB]) => rowA - rowB).map(([_, elements]) => elements);
|
|
21424
21424
|
}, [formFields, currentView.fields]);
|