标签: react-admin
我正在寻找一种在React-Admin中禁用过滤器的“按类型搜索”的方法。
找到了相关问题“ How to prevent get request from being send if the length of the query field is short in react-admin”,但没有答案...
有人知道该怎么做吗?
试图在源代码中找到一些东西,但没有成功:
https://github.com/marmelab/react-admin/blob/0e6605948439f94681d027c4106b627ca9a5a15b/packages/ra-ui-materialui/src/list/Filter.js
https://github.com/marmelab/react-admin/blob/8f0922f913d58709617c12b952fe2a618ffcb8a8/packages/ra-core/src/actions/filterActions.ts
https://github.com/marmelab/react-admin/blob/432d7a26bbfe9424729a9da039a010ec00f2bcca/packages/ra-ui-materialui/src/list/FilterForm.js