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