6.1
After clearing the search input, the dropdown should return to the original list of tags without adding or duplicating entries.
After performing a search and clearing it, the dropdown shows each tag twice
No response
The initial state of the field is correct, that is no duplicates. The duplication only appears after interacting with the search input.
page reload restores normal behavior until the search interaction is repeated
| Labels |
Added:
bug
|
||
| Labels |
Added:
No Code Attached Yet
|
||
Does it also happen in 5.4?
No, 5.4 is ok
It sounds like https://github.com/Choices-js/Choices bug, not Joomla.
But need to test on standalone choices.js, outside Joomla to be sure.
Joomla 5.4 uses choices 9.1
Joomla 6.0 uses choices 11.1
choices 11.2 contains a lot of bug fixes. Maybe that is the fix required
Joomla 5.4 uses choices 9.1 Joomla 6.0 uses choices 11.1
choices 11.2 contains a lot of bug fixes. Maybe that is the fix required
That could indeed be.
One could make a PR for the 6.0-dev branch to update choices, and we could use that PR to test if that would fix it.
Just tested and Updating to choicesjs 11.2.1 does NOT fix the problem
so the problem is more likely to be with how we are using choicesjs with the changes since v9
@brianteeman @Fedik The 11.2.0 has also added new configuration parameters searchRenderSelectedChoices and searchDisabledChoices. Maybe it needs some adjustment to that on our side?
i am sure there is lots to do on our side as there were a lot of changes since v9
I cannot reproduce.
Did you push enter after search?
If so, then you created a new tag, which will be saved when selected.
It is not a bug it is feature.
Thanks for video, I looked for different thing.
I see now it is related to AJAX search.
Yes sorry never even thought about that. I can confirm this bug is only present when tags is set to use ajax - it is fine when set to nested
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-03-20 08:24:59 |
| Closed_By | ⇒ | tecpromotion |
I can confirm the behavior in 6.0.3
Before searching

After searching
