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.esm.js
CHANGED
|
@@ -3126,6 +3126,11 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
|
|
|
3126
3126
|
}, [getPopupContainer]);
|
|
3127
3127
|
const extractedOptions = children ? (Array.isArray(children) ? children : [children]).filter(e => e).map(child => child.props) : options;
|
|
3128
3128
|
const filteredOptions = extractedOptions.filter(option => {
|
|
3129
|
+
console.info({
|
|
3130
|
+
searchQuery,
|
|
3131
|
+
option,
|
|
3132
|
+
optionFilterProp
|
|
3133
|
+
});
|
|
3129
3134
|
if (typeof filterOption === 'function') {
|
|
3130
3135
|
return filterOption(searchQuery, option);
|
|
3131
3136
|
}
|