Bug: "Which of the following.." message is displayed and previous option removed when "No" option is selected a second time after "Yes" option
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the Bug**
Selecting "No" for second time to "Are you a resident of B.C?" removes original selection and displays a required message
**Expected Behaviour**
1. At any time "No" is selected no radio button option is selected and there is a message stating "which of the following..."
AND
2. If "No" and any option was selected, "Yes", then "No", whatever was selected first will be 'saved' as a possible option
**Actual Behaviour**
No radio buttons are selected
Message "Which of the following best describes your situation? is required"
Note: If "No" is selected with no option, then "Yes", then "No" there is no required message.

** Steps To Reproduce**
Precondition: Student application has been started with no personal information added yet.
1. Login to the student portal
2. Click on Applications in the top banner
3. Click "Edit" link to open the application
4. Select "Personal Information" tab
5. Select "No" for "Are you a resident of B.C.?"
6. Select any radio button
7. Select "Yes" radio button
8. Select "No" again for "Are you a resident of B.C.?", note the message
9. Repeat steps 2 - 5
11. Select "No", review for any required messages
(Related to 3500)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the flow in the student portal through Applications > Edit > Personal Information, following the listed No/option/Yes/No sequence. Compare the radio-button state and required message with the expected behaviour, and consider the issue complete when both repeated No selections preserve the prior option as described without the erroneous required message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100