Description
Describe the bug
If I tag a record with a tag of "ABC" using the tags field, then I edit the record and click the tags field, the suggestions dropdown WILL NOT show "ABC" as it's already an active tag (This is correct).
However, if you click the "X" on the "ABC" tag to remove it, then check the suggestions list, "ABC" is shown in alphabetical order, BUT ALSO shows at the very end of the list too.
Steps to use in the reproduction repository
Steps to reproduce the behavior:
- Add a tags field to a resource with suggestions
- Add one or two of the suggestions as tags and save
- edit record, click the "x" on an added tag.
- Check the suggestions list, that tag is now listed twice, once in it's usual place and once at the very end.
System configuration
Avo version: 3.13.6
Rails version: 7.2.2
Ruby version: 3.3.4
License type:
- Community
- Pro
- Advanced
Are you using Avo monkey patches, overriding views or view components?
- Yes. If so, please post code samples.
- No
Screenshots or screen recordings
First shows the suggestions list with the "Dark Ride" tag being active.
Second shows the suggestions list after the "Dark Ride" tag has been removed and shows it back in it's correct alphabetical place.
Third shows the suggestions list with "Dark Ride" showing at the end of the list. Not correct!
Additional context
Can be reproduced here: https://main.avodemo.com/avo/resources/courses
Impact
- High impact (It makes my app un-usable.)
- Medium impact (I'm annoyed, but I'll live.)
- Low impact (It's really a tiny thing that I could live with.)
Urgency
- High urgency (I can't continue development without it.)
- Medium urgency (I found a workaround, but I'd love to have it fixed.)
- Low urgency (It can wait. I just wanted you to know about it.)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status