@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.cjs
CHANGED
|
@@ -26822,7 +26822,8 @@ function createFormView(_ref) {
|
|
|
26822
26822
|
var _layout$large;
|
|
26823
26823
|
return layout == null || (_layout$large = layout.large) == null || (_layout$large = _layout$large.items) == null ? void 0 : _layout$large.find((item) => field.id === item.fieldId);
|
|
26824
26824
|
}).reduce((result2, field) => {
|
|
26825
|
-
const
|
|
26825
|
+
const _field = useFieldsV2 && platformizedFields ? transformFieldToV1(field) : field;
|
|
26826
|
+
const fieldView = createFieldView(_field, layout, path, recursive, isMobile, isSmallBreakpoint ? Breakpoint.SMALL : breakpoint);
|
|
26826
26827
|
if (fieldView) {
|
|
26827
26828
|
result2.push(fieldView);
|
|
26828
26829
|
}
|