Version: 3.xx.xx
useSelect
When records in a resource need to be used as select options, the refine useSelect
hook allows you to handle an Ant Design Select component. Also this hook includes out-of-the-box features such as fetchSize, sorting, and filtering. You may examine the code below to learn how to create and manage Select component with useSelect
.
Refer to the refine useSelect hook documentation for more information. →
RUN IN YOUR LOCAL
npm create refine-app@latest -- --example field-antd-use-select-basic