feat(widget): Swap tag in single-select mode and add a mode indicator #350 #352
No reviewers
Labels
No labels
bug
Chore
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
python
question
refactor
release
tests
ui
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dunwright/django-tag-me!352
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-350"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #350
closes #351
Single-select fields now replace the current tag when a different one is chosen, instead of blocking the choice with an alert. [doc-notes]: """ Single-select tag fields now switch to the newly chosen tag instead of showing a "maximum selections" alert. A small icon in the field shows whether it takes one tag (radio) or many (checkbox). """ [dev-notes]: """ toggleTag() performs the swap and announces it via aria-live ("Replaced X with Y"); selecting the already-selected tag still toggles it off, and the incoming chip's enter transition is the visual cue. Widget icons were migrated from Heroicons to Material Symbols (MD3) inline SVGs. The toggleTag change lives in frontend/src/js and needs a Vite rebuild to ship in dist/. """ closes #350