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
@akhilnalamala please review this solution, if it works or if you have a different suggestion?
When onboarding, the user can enter only spaces in the Name and Role fields bypassing the mandatory field validations.
Proposed Solution:
@akhilnalamala please review this solution, if it works or if you have a different suggestion?