@thecb/components 9.2.2-beta.3 → 9.2.2-beta.4
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
CHANGED
|
@@ -265,8 +265,10 @@ const Dropdown = ({
|
|
|
265
265
|
setTimer(setTimeout(() => setInputValue(""), 20000));
|
|
266
266
|
}
|
|
267
267
|
setFilteredOptions(
|
|
268
|
-
options.filter(
|
|
269
|
-
option
|
|
268
|
+
options.filter(
|
|
269
|
+
option =>
|
|
270
|
+
option.value.toLowerCase().match(inputValue.toLowerCase()) ||
|
|
271
|
+
option.text.toLowerCase().match(inputValue.toLowerCase())
|
|
270
272
|
)
|
|
271
273
|
);
|
|
272
274
|
}, [inputValue]);
|
|
@@ -299,7 +301,7 @@ const Dropdown = ({
|
|
|
299
301
|
<Box
|
|
300
302
|
padding="0"
|
|
301
303
|
background={isOpen ? themeValues.hoverColor : WHITE}
|
|
302
|
-
extraStyles={`position: relative
|
|
304
|
+
extraStyles={`position: relative;`}
|
|
303
305
|
minWidth="100%"
|
|
304
306
|
onClick={() => {
|
|
305
307
|
if (!isOpen) {
|