SIMS icon indicating copy to clipboard operation
SIMS copied to clipboard

Wrong restriction reason when category is changed

Open andrewsignori-aot opened this issue 2 years ago • 0 comments

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.

image.png

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.

andrewsignori-aot avatar Mar 14 '23 21:03 andrewsignori-aot