finform-react-builder 1.5.14 → 1.5.15

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.es.js CHANGED
@@ -3130,6 +3130,7 @@ const Gc = ({ field: e, control: t, errors: r, baseUrl: n, apiHeaders: i, formDa
3130
3130
  case "email":
3131
3131
  case "password":
3132
3132
  case "tel":
3133
+ case "textarea":
3133
3134
  return /* @__PURE__ */ D(
3134
3135
  pt,
3135
3136
  {
@@ -3143,11 +3144,13 @@ const Gc = ({ field: e, control: t, errors: r, baseUrl: n, apiHeaders: i, formDa
3143
3144
  id: e.id,
3144
3145
  fullWidth: !0,
3145
3146
  label: m(e.label),
3146
- type: e.type,
3147
+ type: e.type !== "textarea" ? e.type : void 0,
3147
3148
  placeholder: e.placeholder,
3148
3149
  disabled: e.disabled,
3149
3150
  error: o,
3150
- helperText: (s == null ? void 0 : s.message) || e.helperText
3151
+ helperText: (s == null ? void 0 : s.message) || e.helperText,
3152
+ multiline: e.type === "textarea",
3153
+ minRows: e.rows || (e.type === "textarea" ? 3 : void 0)
3151
3154
  }
3152
3155
  )
3153
3156
  }