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
- Open '/projects/new'
- Select
Create from template
(this also applies toImport project
->Repo by URL
for example) - Pick any template
- Enter anything, what will trigger form error on submit, for example
-
in "project slug" field - 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