When creating Merge Request, switching diff view resets form fields
Summary
In the new merge request page, switching the diff to side-by-side resets the MR description text box.
Steps to reproduce
- Click on new merge request, select source and target branch, then "compare branches and continue"
- Write something in the description
- Switch to the "Changes tab" and then to "Side-by-side"
- The entire page is refreshed and the user content in the description text box is lost.
Reproduced on GitLab Community Edition 11.6.3.
What is the current bug behavior?
Description is reset.
What is the expected correct behavior?
User content is kept on page reload.
Edited by Mark Fletcher