The list of categories in the dropdown excludes the currently selected category.
This causes problems if that category has any subcategories as they now appear to be the children of a completely different category
This is caused by the choices.js script which by default removes selected items from the list which is fine for a flat list but causes the described problem on a nested list.
The solution is documented here https://github.com/Choices-js/Choices?tab=readme-ov-file#renderselectedchoices
Usage: Whether selected choices should be removed from the list. By default choices are removed when they are selected in multiple select box. To always render choices pass always.
Create two categories
Create subcategories for both of the above
Using the category filter select one of the parent categories
Now try to select one of the child categories
The categories in the list never changes
The previously selected category is removed from the list
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-04-22 17:43:51 |
Closed_By | ⇒ | QuyTon |
Closing as there is a pr for test8ing #45365