Changing branches in a merge request clears all details from the merge request

Summary

After git pushing a change set, git returns a message like:

remote: remote: To create a merge request for [branch name], visit: remote: https://[site and project url]/merge_requests/new?merge_request%5Bsource_branch%5D=[branch name] remote:

Visiting this URL brings up a merge request form with title and description near the top, and target branch near the bottom (actually off the screen on my monitor). The natural thing to do is fill in the form from top to bottom. When you reach the target branch part, if it's not the default (develop, in our case), then you have to change branches. Changing branches brings up a separate window, and, after having selected the correct target branch and clicking "Compare branches and continue" you are returned to the main form, with all data you entered wiped out.

Steps to reproduce

  1. Commit some changes to a branch using the git command line tool
  2. Copy the merge request URL produced by git and paste it into a browser
  3. Fill in the form from top to bottom
  4. Change target branch to something other than initial value that was provided
  5. Note that the data you entered in 3 has been cleared

What is the current bug behavior?

See above

What is the expected correct behavior?

The form should preserve data that was entered before changing branches... or, target branch should be at the top of the form so it is selected before entering other data that won't be preserved if changing branches. If change branches is going to wipe out data, it should warn the user of this.