dscgt / recycling_website

Admin website for GT OSWM&R.
0 stars 0 forks source link

groupId passed for non-dropdown types #18

Closed michaelyfan closed 3 years ago

michaelyfan commented 4 years ago

When a user selects a field to be a "Dropdown" type, then enters a groupId, but then later goes back and changes the type (ex. to "Keyboard"), the groupId will be maintained and an object with a non-empty groupId and a non-Dropdown type will be saved to the database. IMO this is an unexpected deviation from the model and should be remedied.

Additionally, an empty String-type groupId will be passed no matter what, which is an unexpected deviation.

michaelyfan commented 4 years ago

Applies to both routes and checkins