saasufy-components 7.7.3 → 7.7.4
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/input-provider.js +1 -1
- package/model-input.js +1 -1
- package/package.json +1 -1
package/input-provider.js
CHANGED
|
@@ -141,7 +141,7 @@ class InputProvider extends HTMLElement {
|
|
|
141
141
|
|
|
142
142
|
let optionElements = optionNames
|
|
143
143
|
.map((optionName) => {
|
|
144
|
-
let optionValue = optionValues[optionName]
|
|
144
|
+
let optionValue = optionValues[optionName] || optionName;
|
|
145
145
|
if (optionName === placeholder) {
|
|
146
146
|
return `<option value="" selected class="select-default-option">${optionName}</option>`;
|
|
147
147
|
}
|
package/model-input.js
CHANGED
|
@@ -214,7 +214,7 @@ class ModelInput extends SocketConsumer {
|
|
|
214
214
|
|
|
215
215
|
let optionElements = optionNames
|
|
216
216
|
.map((optionName) => {
|
|
217
|
-
let optionValue = optionValues[optionName]
|
|
217
|
+
let optionValue = optionValues[optionName] || optionName;
|
|
218
218
|
if (optionName === placeholder) {
|
|
219
219
|
return `<option value="" selected class="select-default-option">${optionName}</option>`;
|
|
220
220
|
}
|