Skip to content

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

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Entering only spaces in the tag input and pressing Enter adds the first existing tag. Cause: The "must not consist of blanks only" option isn't selectable, so vue-select's Enter picks the next option.

Reproduction Steps

  1. Open the tags panel of a file.
  2. Type only spaces and press Enter.

Expected Outcome

Nothing is added.

Actual Outcome

The first existing tag (e.g. "Project Alpha") is added (found during the PR browser tests).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions