@cashub/ui 0.48.20 → 0.48.21
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/package.json +1 -1
- package/select/Select.js +5 -2
package/package.json
CHANGED
package/select/Select.js
CHANGED
|
@@ -331,7 +331,7 @@ const Select = _ref => {
|
|
|
331
331
|
id: option.text,
|
|
332
332
|
children: option.text
|
|
333
333
|
}), option.child.map(option => {
|
|
334
|
-
return /*#__PURE__*/(0, _jsxRuntime.
|
|
334
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Option.default, {
|
|
335
335
|
role: "option",
|
|
336
336
|
tabIndex: option.isDisable ? '-1' : '0',
|
|
337
337
|
id: option.id,
|
|
@@ -341,7 +341,10 @@ const Select = _ref => {
|
|
|
341
341
|
"aria-selected": option.selected,
|
|
342
342
|
"aria-disabled": option.isDisable,
|
|
343
343
|
disabled: option.isDisable,
|
|
344
|
-
children:
|
|
344
|
+
children: [showCheckbox && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
|
|
345
|
+
selected: option.selected,
|
|
346
|
+
disabled: option.isDisable
|
|
347
|
+
}), renderOptionContent(option)]
|
|
345
348
|
}, option.id);
|
|
346
349
|
})]
|
|
347
350
|
}, option.text);
|