Skip to content

New project form resets to "blank project" tab on error

Summary

When you're creating new project, any kind of error will reset your form to "blank project"

Steps to reproduce

  1. Open '/projects/new'
  2. Select Create from template (this also applies to Import project -> Repo by URL for example)
  3. Pick any template
  4. Enter anything, what will trigger form error on submit, for example - in "project slug" field
  5. Submit form

What is the current bug behavior?

  • Form is reset to blank project

What is the expected correct behavior?

  • Form still is on Create from template tab
  • Selected template is preserved

Output of checks

This bug happens on GitLab.com

Edited by Illya Klymov