x-ui-design 0.2.85 → 0.2.86
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 +5 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/lib/components/Select/Select.tsx +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3128,6 +3128,11 @@ const SelectComponent = /*#__PURE__*/React$1.forwardRef(({
|
|
|
3128
3128
|
}, [getPopupContainer]);
|
|
3129
3129
|
const extractedOptions = children ? (Array.isArray(children) ? children : [children]).filter(e => e).map(child => child.props) : options;
|
|
3130
3130
|
const filteredOptions = extractedOptions.filter(option => {
|
|
3131
|
+
console.info({
|
|
3132
|
+
searchQuery,
|
|
3133
|
+
option,
|
|
3134
|
+
optionFilterProp
|
|
3135
|
+
});
|
|
3131
3136
|
if (typeof filterOption === 'function') {
|
|
3132
3137
|
return filterOption(searchQuery, option);
|
|
3133
3138
|
}
|