Filter power search term options
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU Reviewed By: lblasa Differential Revision: D48558180 fbshipit-source-id: 311d5ed1859d0a31f85942772a956c46f58be46e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
44c3f53905
commit
0633658cee
@@ -154,7 +154,11 @@ export const PowerSearch: React.FC<PowerSearchProps> = ({config}) => {
|
||||
},
|
||||
]);
|
||||
}}
|
||||
value={''}
|
||||
filterOption={(inputValue, option) => {
|
||||
return !!option?.label
|
||||
.toLowerCase()
|
||||
.includes(inputValue.toLowerCase());
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user