hack4impact-utk / mission-of-hope

Repo for the Mission of hope project for Hack4impact
2 stars 0 forks source link

Added category autofill for adding new items #219

Closed wessoms closed 1 month ago

wessoms commented 1 month ago

Description

Added an autofill box for the Category field in the page for adding new items. This was done by adding a function to get a list of all unique categories from the DB and then passing it down to the itemForm component. We opted to use a conditionally rendered "This will add a new item" field instead of adding an "Add ____" to the filter options.

Relevant issue(s)

Questions

Type of change

Checklist: