#Multiselect with custom data and form
4 messages · Page 1 of 1 (latest)
data prop has (string | SelectItem)[] type
interface SelectItem {
value: string;
label?: string;
selected?: boolean;
disabled?: boolean;
group?: string;
[key: string]: any;
}
Map your data to SelectItem[] type
There's no inner mapper, right?
Like, on MUI u can pass a map function