selectProps
is it possible to concat the optionLabel in selectProps so onselect show for example two diferent labels like "name" and "code":
const {
selectProps: selectPropsClients},
} = useSelect({
resource: "clients",
pagination: {
mode: "off",
},
optionLabel: "name",
optionValue: "id",
});
const {
selectProps: selectPropsClients},
} = useSelect({
resource: "clients",
pagination: {
mode: "off",
},
optionLabel: "name",
optionValue: "id",
});