i want to get one more field with useSelect
const {options, queryResult} = useSelect({
resource,
optionValue: useFilter ? "country_code" as any : idField as any,
optionLabel: "name",
pagination: {
mode: "server",
pageSize: 300,
},
});
i want to add another item from the queryResult object to options. how to do that?
resource,
optionValue: useFilter ? "country_code" as any : idField as any,
optionLabel: "name",
pagination: {
mode: "server",
pageSize: 300,
},
});
i want to add another item from the queryResult object to options. how to do that?
