@bigbinary/neeto-form-frontend 3.0.0 → 3.0.1
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.js +2 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3168,8 +3168,7 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
3168
3168
|
showActionBlock = _ref$showActionBlock === void 0 ? false : _ref$showActionBlock,
|
|
3169
3169
|
submitButtonProps = _ref.submitButtonProps,
|
|
3170
3170
|
cancelButtonProps = _ref.cancelButtonProps,
|
|
3171
|
-
|
|
3172
|
-
questionKinds = _ref$questionKinds === void 0 ? [] : _ref$questionKinds,
|
|
3171
|
+
questionKinds = _ref.questionKinds,
|
|
3173
3172
|
_ref$isKindAlreadyAct = _ref.isKindAlreadyActive,
|
|
3174
3173
|
isKindAlreadyActive = _ref$isKindAlreadyAct === void 0 ? isQuestionKindAlreadyActive : _ref$isKindAlreadyAct,
|
|
3175
3174
|
_ref$getActiveKindDet = _ref.getActiveKindDetails,
|
|
@@ -3299,7 +3298,7 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
3299
3298
|
submitButtonProps: submitButtonProps
|
|
3300
3299
|
})), {}, {
|
|
3301
3300
|
formId: id,
|
|
3302
|
-
questionKinds:
|
|
3301
|
+
questionKinds: ramda.isNil(questionKinds) ? defaultQuestionKinds : questionKinds,
|
|
3303
3302
|
onChange: function onChange(event) {
|
|
3304
3303
|
if (ramda.isEmpty(errors)) return;
|
|
3305
3304
|
setFieldError(event.target.name);
|