Skip to content

fix: don't add a tag when only spaces are entered - #3764

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/tag-blank-enter
Oct 15, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/tag-blank-enter

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Tags input: Enter or , on an input with only spaces no longer adds the first existing tag.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: Enter with a whitespace-only input adds no tag, a normal tag is still added
  • test case 2: browser: spaces + Enter/comma add nothing, normal and pasted tags still work

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit 8c116f0 into main Oct 15, 2026
28 checks passed
@AlexAndBear
AlexAndBear deleted the fix/tag-blank-enter branch October 15, 2026 13:49
@openclouders openclouders mentioned this pull request Oct 15, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Entering only spaces in the tag input and pressing Enter adds the first existing tag

2 participants