The issue was caused by the default Diagnosis being set to Null. When the submit button was pressed, the diagnosis would change to Manic, but not submit until it was pressed again.
Changes:
Created a string enum for each Diagnosis.
Set the default diagnosis in the patient info state as Manic
Dynamically create <option>s for each Diagnosis from the enum
This change will fix bug #100
The issue was caused by the default Diagnosis being set to Null. When the submit button was pressed, the diagnosis would change to Manic, but not submit until it was pressed again.
Changes:
<option>
s for each Diagnosis from the enum