Single crop selection
The <CropSelector
component currently allows for selecting several crops and it is used mainly in filters.
Descriptor List and Descriptor are linked to a single crop and we cannot directly use this component.
Extend this component by adding a single
property that will change behavior of the component:
- Show radio buttons instead of checkboxes
- Report back a single crop name instead of the array of crop names
Use the updated <CropSelector single...
in DescriptorList and Descriptor edit forms.