Skip to content

[BUG] Trim leading & following whitespace when editing name of an existing application #817

Description

@harishkotra

Description

When an existing application is edited, it is accepting spaces as the name and saving it while it should throw an error asking the user to enter a name and strip the spaces from the field. Also noticed that the color of the app also changes automatically without changing anything.

Steps to reproduce the behavior:

  1. Go to "applications"
  2. Click on '...'
  3. Click on the "edit" icon and enter spaces in the field
  4. See error

Screencast: https://recordit.co/QsxvyTjzom

Important Details

  • Version: Cloud
  • OS: Windows 10
  • Browser: Google Chrome Version 85.0.4183.121 (Official Build) (64-bit)

Metadata

Metadata

Labels

BugSomething isn't workingFrontendThis label marks the issue or pull request to reference client codeGood First IssueGood for newcomersLowAn issue that is neither critical nor breaks a user flowhacktoberfestAll issues that can be solved by the community during Hacktoberfest

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions