Skip to content

added trim() to fix whitespace issue with name and role#29

Merged
akhilnalamala merged 1 commit intodevelopfrom
28-onboarding-whitespace-fix
Jan 27, 2025
Merged

added trim() to fix whitespace issue with name and role#29
akhilnalamala merged 1 commit intodevelopfrom
28-onboarding-whitespace-fix

Conversation

@debamitra
Copy link
Copy Markdown
Collaborator

@debamitra debamitra commented Jan 26, 2025

Github issue link

Test cases

  1. "John Doe" - Valid
  2. " John " - Valid
  3. " " - Error message: "Name must be at least 2 characters"
  4. " J " - Error message: "Name must be at least 2 characters"

@akhilnalamala akhilnalamala changed the base branch from main to develop January 27, 2025 03:04
@akhilnalamala akhilnalamala merged commit 8c22872 into develop Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User can add spaces to bypass validations in Name and Role while onboarding

2 participants