leezng commented on code in PR #9724:
URL: https://github.com/apache/inlong/pull/9724#discussion_r1499285538
##########
inlong-dashboard/src/ui/pages/ModuleAudit/IdModule/config.tsx:
##########
@@ -51,17 +51,20 @@ export const getFormContent = initialValues => [
name: 'inlongGroupId',
props: {
dropdownMatchSelectWidth: false,
+ showSearch: true,
options: {
requestAuto: true,
- requestService: {
+ requestTrigger: ['onOpen', 'onSearch'],
+ requestService: keyword => ({
Review Comment:
No `filterOption`. It's too customized
Try to hand over the filter logic to the instance:
```js
requestService: keyword => {
const res = await request()
return res.filter()
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]