collective / Products.PloneKeywordManager

Change, merge and delete keywords (AKA tags or subjects) in Plone.
https://pypi.org/project/Products.PloneKeywordManager/
4 stars 8 forks source link

Duplicated ids when showing similar keywords #78

Open gforcada opened 1 year ago

gforcada commented 1 year ago

If one enables Show similar keywords, plenty of recommended keywords are suggested ✨

But if unfortunately the very same keyword is shown more than once, the generated HTML is wrong: it has duplicated id="LABEL_NAME" on the text.

And more than that, when one clicks on the non-first occurrence of a duplicated keyword, the first occurrence is the one selected, not the one you just clicked, which is confusing 😅