Skip to content

AddPlantPage

View source on GitHub

This component renders a plant form and handles sending plant data, validation, and navigation after submission. *

Exposed Methods

submitPlantForm()

Handles the submission of the plant form, validates, and sends data to the backend.

savePlant()

Saves the plant and navigates to the plant list page.

savePlantAndDistill()

Saves the plant and navigates to the add distillation page.