When a user selects a category from preexisting categories for an exercise, the autocomplete dropdown menu does not open automatically; the user needs to click on the input area to open it.
However, when a user adds a new category, the autocomplete dropdown menu opens automatically without clicking the input area. This behavior occurs even when there are already 2 categories, which is the maximum number allowed for an exercise category. Consequently, the dropdown opens unnecessarily, confusing the user.
To Reproduce
Go to course management page and click on a course
Click on exercises button and click on create programming exercise button
In categories section, add a preexisting category, then create a new category to see the difference in dropdown menu
Expected behavior
The autocomplete dropdown menu should not open automatically when a new category is added, it should only open when the user clicks on the input area.
When the maximum number of categories (2) is reached, the autocomplete dropdown menu should not open.
Screenshots
Which version of Artemis are you seeing the problem on?
Describe the bug
When a user selects a category from preexisting categories for an exercise, the autocomplete dropdown menu does not open automatically; the user needs to click on the input area to open it.
However, when a user adds a new category, the autocomplete dropdown menu opens automatically without clicking the input area. This behavior occurs even when there are already 2 categories, which is the maximum number allowed for an exercise category. Consequently, the dropdown opens unnecessarily, confusing the user.
To Reproduce
Expected behavior
Screenshots
Which version of Artemis are you seeing the problem on?
7.3.1
What browsers are you seeing the problem on?
Chrome
Additional context
No response
Relevant log output
No response