Hello
I have a Cell which generates a SelectField, which has the users it gets by a query as options.
I also pass field of an object as the value for the SelectField, which works fine.
export const Success = (
{ users }: CellSuccessProps<FindUsers>,
value,
label
) => {
return (
<SelectField
name="name"
defaultValue={value}
className="rw-input"
<UserSelectionCell value={props.note?.executorId} label="Test Label" />
My Problem is, I also have to pass the label for the component. But the variable ends up as undefined.
Whats the correct way to pass parameters to a cell for this purpose? And why does it work for the value but not for the label?