useSelect with Mantine MultiSelect
I just upgraded to version 4 and I'm not sure how to use resources with MultiSelect. I'm having a type issue with useSelect and the MultiSelect component in @mantine/core. I followed the docs to create props with useSelect from @refinedev/mantine, but it appears that useSelect is only returning the SelectProps type used in the Select component, which is incompatible with the MultiSelectProps type and giving a type error.
Is there a way to create props for MultiSelect or do I have to manage it manually?
Example:
Is there a way to create props for MultiSelect or do I have to manage it manually?
Example:
const { selectProps } = useSelect({
resource: 'tags',
});
// This is giving a type error
<MultiSelect
label="Tags"
{...selectProps}
/>