cynx-ui 1.2.33 → 1.2.34

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.
@@ -112,7 +112,7 @@ export default function Select({
112
112
  return opt ? (opt.displayLabel || opt.label) : optVal;
113
113
  }
114
114
 
115
- const selectedValues = multi ? (Array.isArray(value) ? value : []) : (value ? [value] : []);
115
+ const selectedValues = multi ? (Array.isArray(value) ? value : []) : (value !== undefined && value !== null ? [value] : []);
116
116
 
117
117
  return (
118
118
  <div
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cynx-ui",
3
- "version": "1.2.33",
3
+ "version": "1.2.34",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.js"