@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.js
CHANGED
|
@@ -3091,8 +3091,7 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
3091
3091
|
showActionBlock = _ref$showActionBlock === void 0 ? false : _ref$showActionBlock,
|
|
3092
3092
|
submitButtonProps = _ref.submitButtonProps,
|
|
3093
3093
|
cancelButtonProps = _ref.cancelButtonProps,
|
|
3094
|
-
|
|
3095
|
-
questionKinds = _ref$questionKinds === void 0 ? [] : _ref$questionKinds,
|
|
3094
|
+
questionKinds = _ref.questionKinds,
|
|
3096
3095
|
_ref$isKindAlreadyAct = _ref.isKindAlreadyActive,
|
|
3097
3096
|
isKindAlreadyActive = _ref$isKindAlreadyAct === void 0 ? isQuestionKindAlreadyActive : _ref$isKindAlreadyAct,
|
|
3098
3097
|
_ref$getActiveKindDet = _ref.getActiveKindDetails,
|
|
@@ -3222,7 +3221,7 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
3222
3221
|
submitButtonProps: submitButtonProps
|
|
3223
3222
|
})), {}, {
|
|
3224
3223
|
formId: id,
|
|
3225
|
-
questionKinds:
|
|
3224
|
+
questionKinds: isNil(questionKinds) ? defaultQuestionKinds : questionKinds,
|
|
3226
3225
|
onChange: function onChange(event) {
|
|
3227
3226
|
if (isEmpty(errors)) return;
|
|
3228
3227
|
setFieldError(event.target.name);
|