Skip to content

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

Closed

Description

@debamitra

When onboarding, the user can enter only spaces in the Name and Role fields bypassing the mandatory field validations.

Proposed Solution:

  • Apply trim() to remove leading and trailing whitespaces from the input values.
  • Add this fix to Onboarding and UserProfile component
Image

@akhilnalamala please review this solution, if it works or if you have a different suggestion?

Activity

  1. added
    bug
    on Jan 25, 2025
  2. self-assigned this
    on Jan 25, 2025
  3. changed the title [-]User can add only spaces in Name and Role while onboarding[/-] [+]User can add spaces to bypass validations in Name and Role while onboarding[/+] on Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions