Ensure project path is trimmed upon project creation
What does this MR do and why?
Ensure project path is trimmed upon project creation
This updates some code that attempted to interact with a DOM element through jQuery's API.
Changelog: fixed
This was likely overlooked in !88012 (merged).
Screenshots or screen recordings
Before | After |
---|---|
No error. |
How to set up and validate locally
- Open the
New project
form at http://gdk.test:3000/projects/new#blank_project. - In the path input, add some value with trailing and or leading blank spaces.
- Submit the form.
- No error should appear, and the path input's value should be updated to remove extraneous spaces.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.