@wix/form-public 0.29.0 → 0.31.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 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 fieldView = useFieldsV2 && platformizedFields ? transformFieldToV1(field) : createFieldView(field, layout, path, recursive, isMobile, isSmallBreakpoint ? Breakpoint.SMALL : breakpoint);
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
  }