@wix/form-public 0.30.0 → 0.32.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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -26796,7 +26796,8 @@ function createFormView(_ref) {
|
|
|
26796
26796
|
var _layout$large;
|
|
26797
26797
|
return layout == null || (_layout$large = layout.large) == null || (_layout$large = _layout$large.items) == null ? void 0 : _layout$large.find((item) => field.id === item.fieldId);
|
|
26798
26798
|
}).reduce((result2, field) => {
|
|
26799
|
-
const
|
|
26799
|
+
const _field = useFieldsV2 && platformizedFields ? transformFieldToV1(field) : field;
|
|
26800
|
+
const fieldView = createFieldView(_field, layout, path, recursive, isMobile, isSmallBreakpoint ? Breakpoint.SMALL : breakpoint);
|
|
26800
26801
|
if (fieldView) {
|
|
26801
26802
|
result2.push(fieldView);
|
|
26802
26803
|
}
|