Select
in progress
V
Vasanth Mohan
I hope it can come with async support for fetching options during runtime (like react-select)
Siddharath Bhardwaj
user can create custom template inside of select options. ??
Walberson Dias da Silva
Will be multiselect too?
R
Rob Ch
Would be great if you could define a function that generates the JSX view for each item. See attached screenshot of my custom select.
My implementation also allows filtering.
This is my interface, in case it helps:
type DropdownProps<T extends ObjectWithUuid> = {
createItemView: (item: T) => JSX.Element;
generateStringRepresentation: (item: T) => string;
isError: boolean;
isLoading: boolean;
items: Array<T> | null;
placeholderView: JSX.Element;
selectedId: T[
id
] | null;setSelectedId: (id: T[
id
]) => void;};
Esther Agbaje
in progress