@arquimedes.co/eureka-forms 1.6.9 → 1.7.1-test
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.
|
@@ -33,7 +33,7 @@ function MaterialRatingStep(_a) {
|
|
|
33
33
|
var form = _a.form, step = _a.step, value = _a.value, level = _a.level, errors = _a.errors, onChange = _a.onChange, inputRef = _a.inputRef, editable = _a.editable, postview = _a.postview, formStyle = _a.formStyle, widthStats = _a.widthStats, others = __rest(_a, ["form", "step", "value", "level", "errors", "onChange", "inputRef", "editable", "postview", "formStyle", "widthStats"]);
|
|
34
34
|
var renderNestedOption = function () {
|
|
35
35
|
var currentOption;
|
|
36
|
-
if (value && step.nestedSteps) {
|
|
36
|
+
if (value !== undefined && value !== null && step.nestedSteps) {
|
|
37
37
|
if (step.ratingType === RatingTypes.LIKE) {
|
|
38
38
|
currentOption = step.nestedSteps[value];
|
|
39
39
|
}
|
|
@@ -75,7 +75,7 @@ export function postFile(file, postInfo) {
|
|
|
75
75
|
// Actual file has to be appended last.
|
|
76
76
|
formData.append('file', file);
|
|
77
77
|
return [4 /*yield*/, axios.post(postInfo.postInfo.url, formData, {
|
|
78
|
-
timeout:
|
|
78
|
+
timeout: 300000,
|
|
79
79
|
headers: {
|
|
80
80
|
'Content-Type': 'multipart/form-data',
|
|
81
81
|
},
|
package/package.json
CHANGED