RocketChat / RocketChat/Rocket.Chat
Says invalid name if you press spacebar after entering channel name without spaces
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Just create a Channel and add a channel name and press spacebar and then it says invalid name ,even though the name doesn't have any spaces
Steps to reproduce:
- Go to create a channel
- Add a new channel name with or without spaces
Expected behavior:
It should just accept the channel name and create a channel
Actual behavior:

Server Setup Information:
- Version of Rocket.Chat Server: 3.1
- Operating System: Windows
- Deployment Method:
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version: 12.x
- MongoDB Version: 4.x
Client Setup Information
- Desktop App or Browser Version: Browser Version
- Operating System: Windows
Additional context
I can work on this issue.
Relevant logs:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem in the channel creation UI described in the issue, using a channel name and pressing the spacebar after entry. Trace the channel-name validation path and verify that a valid name is accepted and the channel can be created without the erroneous invalid-name message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100