@altiore/form
Advanced tools
Comparing version 3.3.6 to 3.3.7
@@ -100,3 +100,3 @@ var __assign = (this && this.__assign) || function () { | ||
var _a; | ||
var _b, _c; | ||
var _b, _c, _d; | ||
var fieldNameArr = fieldName.split('.'); | ||
@@ -110,6 +110,6 @@ var dynamicDefault = undefined; | ||
: defValueFromPar | ||
? (defValueFromPar === null || defValueFromPar === void 0 ? void 0 : defValueFromPar[fieldNameArr[fieldNameArrLength - 1]]) || ' ' | ||
? (_c = defValueFromPar === null || defValueFromPar === void 0 ? void 0 : defValueFromPar[fieldNameArr[fieldNameArrLength - 1]]) !== null && _c !== void 0 ? _c : undefined | ||
: undefined; | ||
} | ||
var defaultValue = (_c = dynamicDefault !== null && dynamicDefault !== void 0 ? dynamicDefault : get(defaultValues, fieldNameArr)) !== null && _c !== void 0 ? _c : fieldDefaultValue; | ||
var defaultValue = (_d = dynamicDefault !== null && dynamicDefault !== void 0 ? dynamicDefault : get(defaultValues, fieldNameArr)) !== null && _d !== void 0 ? _d : fieldDefaultValue; | ||
return __assign(__assign({}, s), (_a = {}, _a[fieldName] = { | ||
@@ -116,0 +116,0 @@ defaultValue: defaultValue, |
{ | ||
"name": "@altiore/form", | ||
"version": "3.3.6", | ||
"version": "3.3.7", | ||
"description": "Form helper for building powerful forms", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102215