Currently, the front-end has hard-coded values for all of the fields that have predefined choices. It requires too much maintenance to keep these lists in sync between the front-end and back-end. We should make endpoints on the back-end that the front-end can call to get each list of choices.
As a bonus, add better comments to the choices.py file.
Currently, the front-end has hard-coded values for all of the fields that have predefined choices. It requires too much maintenance to keep these lists in sync between the front-end and back-end. We should make endpoints on the back-end that the front-end can call to get each list of choices.
As a bonus, add better comments to the choices.py file.