@formio/js 5.1.0-dev.6205.d795b91 → 5.1.0-dev.6206.bfec028
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.
@@ -1124,7 +1124,7 @@ class SelectComponent extends ListComponent_1.default {
|
|
1124
1124
|
}
|
1125
1125
|
// Choices will return undefined if nothing is selected. We really want '' to be empty.
|
1126
1126
|
if (value === undefined || value === null) {
|
1127
|
-
value =
|
1127
|
+
value = this.emptyValue;
|
1128
1128
|
}
|
1129
1129
|
return value;
|
1130
1130
|
}
|
@@ -1154,7 +1154,7 @@ export default class SelectComponent extends ListComponent {
|
|
1154
1154
|
}
|
1155
1155
|
// Choices will return undefined if nothing is selected. We really want '' to be empty.
|
1156
1156
|
if (value === undefined || value === null) {
|
1157
|
-
value =
|
1157
|
+
value = this.emptyValue;
|
1158
1158
|
}
|
1159
1159
|
return value;
|
1160
1160
|
}
|