The AttributeForm component sits in the AttributeSelectorScreen and maps the Atrributes array to render Attribute components for each, e.g. Quiet space, WiFi, etc.
Each 'Attribute' can be selected and gathered as form data in much the same way that happened for the named allergies in the meal plan generator.
It seems sensible to have all the form submission logic in this component.
The AttributeForm component sits in the AttributeSelectorScreen and maps the Atrributes array to render Attribute components for each, e.g. Quiet space, WiFi, etc.
Each 'Attribute' can be selected and gathered as form data in much the same way that happened for the named allergies in the meal plan generator.
It seems sensible to have all the form submission logic in this component.
https://excalidraw.com/#room=7616cae564c0125b181f,dKG9tVW08y1XNY1TEJGJOA