You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
purpose
populate options in dropdown in VolunteerAddDetailsModule in volunteer-add-pages/page.tsx and VolunteerRemoveDetailsModule in volunteer-remove-pages/page.tsx (only add is attached & linked below)
steps
set up db in the back end
use Postman to populate the database using the dummy data in the figma design! i.e. (produce, apples, [lbs, kgs]) and more. (serialize if you can - do it in the easiest possible way for you)
add options for category dropdown
get set of categoryNames from categories db and display in first dropdown
all other dropdowns should be disabled until the category is selected
add options for items dropdown
once the category is selected in the dropdown, get list of itemNames where the selected category matches with that itemName's category name
the dropdown for units should be disabled until an item is selected in the dropdown
add options for units dropdown
get the list of units for that itemName
pictures
The text was updated successfully, but these errors were encountered:
prereq: categories api
purpose
populate options in dropdown in VolunteerAddDetailsModule in volunteer-add-pages/page.tsx and VolunteerRemoveDetailsModule in volunteer-remove-pages/page.tsx (only add is attached & linked below)
steps
categoryName
s from categories db and display in first dropdownitemName
s where the selected category matches with thatitemName
's category namepictures
The text was updated successfully, but these errors were encountered: