Wrong restriction reason when category is changed
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
While authenticated as a Ministry user and adding a new restriction to the student account, depending on how the Category and Reason are selected, the Reason can end up with an inconsistent value displayed.
As shown below, the number 10 is shown instead of the description.

**How to reproduce**
- Navigate to the Ministry portal, search for a student;
- On the restrictions tab click to "Add restriction";
- Select a category;
- Select a reason;
- Change the category.
**Expected result**: while selecting the category the reason must be reset.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.