x-ui-design 0.6.79 → 0.6.81
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/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/Select/Select.tsx +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3796,7 +3796,7 @@ const Select = ({
|
|
|
3796
3796
|
const option = extractedOptions.find(e => e.value === selected || e.label === selected || e.children === selected) || selected;
|
|
3797
3797
|
return /*#__PURE__*/React.createElement("div", {
|
|
3798
3798
|
dangerouslySetInnerHTML: {
|
|
3799
|
-
__html: option?.children || option?.label || option?.value || null
|
|
3799
|
+
__html: typeof option === 'string' ? option : option?.children || option?.label || option?.value || null
|
|
3800
3800
|
}
|
|
3801
3801
|
});
|
|
3802
3802
|
}, [extractedOptions, selected]) || selected || null;
|