Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Ghost tags in saved question drafts

Post

Ghost tags in saved question drafts

+2
−0

When returning to a draft of a new question which does not yet have any tags added, the "Tags" field shows a single tag consisting of an empty string (a little grey box but with no tag name inside it):

Single empty grey tag box in the "Tags" field

Adding more tags results in an extra empty tag box being added:

Two empty grey tag boxes in the "Tags" field, along with valid added tags

This seems to only happen when selecting suggested tags during typing. Clicking on one of the required tags above the "Tags" field does not result in a second empty tag box.

Closing the page and coming back to the saved draft by pressing "Ask Question" results in one of the empty tag boxes disappearing:

Only one empty tag box in the "Tags" field after reloading the draft, along with valid added tags

This appears to be a visual bug only. The empty tag box can be removed by clicking its "x". The question can be successfully posted whether the empty tag box has been removed or not. Either way, the empty tag box does not show up in the posted question, and also does not show up in the "Tags" field when later editing the question.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Fix pending (1 comment)
Fix pending
Oleg Valter‭ wrote 3 days ago

There was a weird edge case in that if a post draft gets saved while it has no tags, an empty tag is persisted in the cache. Should be fixed after the PR addressing the issue is merged in.