Skip to content

Bug: name field in register form accepts space input #50

@Rahulm2310

Description

@Rahulm2310

Describe the bug

Although we allow spaces between text in the name field in register form but only a number of spaces should not be accepted as valid input.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://anitab-org.github.io/stem-diverse-tv-cms/register
  2. Enter spaces in name input
  3. See error

Expected behavior

Name field must not accept a number of spaces as valid input.

Screenshots

stem-name

Desktop (please complete the following information):

  • OS: Any
  • Browser: Any
  • Version: Any

Additional context

This behaviour is normal in case of password field as we hash the input.

Metadata

Metadata

Assignees

Labels

Category: CodingChanges to code base or refactored code that doesn't fix a bug.First Timers OnlyGood for newcomers.Type: BugBug or Bug fixes.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions