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 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] ?? 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] ?? 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saasufy-components",
3
- "version": "7.7.3",
3
+ "version": "7.7.4",
4
4
  "description": "Components for Saasufy.",
5
5
  "main": "index.js",
6
6
  "scripts": {