Skip to content

Strip leading whitespaces when creating project

What does this MR do and why?

Allows the automatic removal of leading blank spaces on a project name before validating the record. see #371179 (closed)

this means we'll be auto-fixing this for all methods of project creation/update in the app that goes through the callbacks

Screenshots or screen recordings

before

after

How to set up and validate locally

  1. Create a new project in the UI
  2. Fill in project name with a leading space
  3. Submit
  4. Notice successful save and removal of leading blank space.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #371179 (closed)

Edited by Doug Stull

Merge request reports

Loading