🎯 due Monday, April 8th
My generically-typed modular AddProfile component is too complex and over-engineered than what we need for the Legacy Project's webpage (it was fun while it lasted, y'all). That being said, I'm nuking the old AddProfile component and transitioning to a much simpler AddSenior page that's less parameterized. This ticket is for me! (Skylar)
Right now, setProfileData only sets the value of the selectName field (event.target.name) to the new value provided (event.target.value). We want to accumulate values chosen in the dropdown, so that setProfileData adds a new value to the input box, and doesn't replace it.
Furthermore, there's a bug in the profile form where clicking on any input box causes the dropdown to pop up.

🎯 due Monday, April 8th
My generically-typed modular
AddProfilecomponent is too complex and over-engineered than what we need for the Legacy Project's webpage (it was fun while it lasted, y'all). That being said, I'm nuking the oldAddProfilecomponent and transitioning to a much simplerAddSeniorpage that's less parameterized. This ticket is for me! (Skylar)AddProfileand transition to using just the singularadd-senior.tsxpage for your profile. When mapping over the input boxes, create a separate component for the dropdown sRight now,
setProfileDataonly sets the value of theselectNamefield (event.target.name) to the new value provided (event.target.value). We want to accumulate values chosen in the dropdown, so thatsetProfileDataadds a new value to the input box, and doesn't replace it.components/addProfile/form.tsxat line31so that it accumulates a list of values, rather than replacing them on every call ofhandleSelected.Furthermore, there's a bug in the profile form where clicking on any input box causes the dropdown to pop up.