day-cohort-70 / shepherds-pie-stormy-monday

shepherds-pie-stormy-monday created by GitHub Classroom
0 stars 0 forks source link

Edit Pizza form #14

Open lsand18 opened 5 months ago

lsand18 commented 5 months ago
  1. each order item should have an edit button on the order view page
  2. this button will navigate to the edit pizza form
  3. this form will have the same dropdowns and radio buttons as the add pizza form, but will display the current selections on initial render
  4. utilize the onchange function to update state for the changed selections
  5. render a "update pizza" button
  6. this button will update the pizza in the database and navigate to the order view page
  7. Also render a "delete pizza" button that will delete the pizza in the database and navigate to the order view page

Review the EmployeeForm.jsx file in honey rae for an example