@bigbinary/neeto-form-frontend 4.4.12 → 4.4.14

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.
@@ -325,7 +325,7 @@ var Card = function Card(_ref) {
325
325
  size: 16
326
326
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
327
327
  "data-testid": "neeto-form-engine-".concat(neetoCist.slugify(questionLabel)),
328
- className: classnames("neeto-ui-rounded neeto-ui-border-gray-300 neeto-ui-bg-white neeto-form-nano-form__card flex h-10 grow items-center justify-between gap-1 border p-2", {
328
+ className: classnames("neeto-ui-rounded neeto-ui-border-gray-300 neeto-ui-bg-white neeto-form-nano-form__card flex h-10 grow items-center justify-between gap-1 border p-2 overflow-hidden", {
329
329
  "neeto-ui-border-primary-500 neeto-form-nano-form__card--active": isActive
330
330
  }),
331
331
  onClick: function onClick() {
@@ -2718,6 +2718,10 @@ var transformValues = function transformValues(_ref4) {
2718
2718
  values = _objectWithoutProperties(_ref4, _excluded$1);
2719
2719
  var rest = ramda.omit(["isMinWordsEnabled"], values);
2720
2720
  switch (rest.kind) {
2721
+ case constants.QUESTION_TYPES.TEXTAREA:
2722
+ return _objectSpread$2(_objectSpread$2({}, rest), {}, {
2723
+ minWords: minWords !== null && minWords !== void 0 ? minWords : ""
2724
+ });
2721
2725
  case constants.QUESTION_TYPES.ADDRESS:
2722
2726
  {
2723
2727
  var _rest$fields = rest.fields,
@@ -2728,9 +2732,7 @@ var transformValues = function transformValues(_ref4) {
2728
2732
  });
2729
2733
  }
2730
2734
  default:
2731
- return _objectSpread$2(_objectSpread$2({}, rest), {}, {
2732
- minWords: minWords !== null && minWords !== void 0 ? minWords : ""
2733
- });
2735
+ return rest;
2734
2736
  }
2735
2737
  };
2736
2738