Closed MikeyDubs closed 2 years ago
Note that will require changes in the views, view models and models.
The model changes are dependent on https://github.com/WildAid/o-fish-realm/issues/135 being implemented
No change needed to the viewModel - The ideal is to have the "other" value just save in the field, as if it was a menu item. so, if menu item is 'Other' (or a translation thereof) then save the 'Description' field to the actual field (e.g. Activity=Other, description='Sailing', save 'Sailing' to Activity in the database).
Description fields should appear after a user selects "Other" from ANY drop down menu, not just EMS. This includes Activity, Fishery, Gear, and Catch. Currently, this doesn't happen with Activity, Fishery, Gear, and Catch.
The description field should be free-form text the user inputs.
Issue - Activity, Catch, Gear:
Issue: Catch
Should be - Activity, Fishery, Gear:
Should be - Catch:
Look to how EMS is implemented and do the same for Activity, Fishery, Gear and Catch. Note that what should be stored in the database is the description when "Other" is selected. e.g. if Activity is "Other" and the description is "Sailing", then "Sailing" should be stored in the activity field in the database.