Skip to content

Branch name is lost if I change commit mode in Web IDE

Summary

When using the Web IDE, if I specify a branch name for Create a new branch but then toggle to Create a new branch and merge request the branch name is forgotten and I have to type it in all over again

Steps to reproduce

  1. Open the Web IDE
  2. Make a change
  3. When committing select Create a new branch and add a custom branch name
  4. Now select Create a new branch and merge request

What is the current bug behavior?

The branch name I just typed is gone

What is the expected correct behavior?

The branch name should be remembered/shared between the two radio button options, so that if I change the branch name again and then switch back to a different commit mode it is remembered.

Output of checks

This bug happens on GitLab.com

Possible fixes