@bigbinary/neeto-form-frontend 4.4.12 → 4.4.13
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/.ready +1 -1
- package/dist/BuildForm.js +5 -3
- package/dist/BuildForm.js.map +1 -1
- package/dist/cjs/BuildForm.js +5 -3
- package/dist/cjs/BuildForm.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/BuildForm.js
CHANGED
|
@@ -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
|
|
2732
|
-
minWords: minWords !== null && minWords !== void 0 ? minWords : ""
|
|
2733
|
-
});
|
|
2735
|
+
return rest;
|
|
2734
2736
|
}
|
|
2735
2737
|
};
|
|
2736
2738
|
|