[go: up one dir, main page]

Skip to content

Use a dropdown list to select the source of a new MR when creating it directly from an issue

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

When selecting a source branch for a merge request it is possible to not be able to delete your text.

Enter an existing source branch then change your mind and delete the text using backspace, as you delete characters you come into conflict with the auto search eventually you're unable to delete the first character.

Should be selection be changed to a drop down?

See giphy attachment for visual.

Steps to reproduce

  1. Create a new issue in a project with at least two branches
  2. Navigate to the issue and click the "Create merge request" dropdown
  3. Try to input a branch name that is not the default, and click away from the drop down dialog or click to the end
  4. Try to clear the dialog with backspace and type in another branch name

Example Project

https://gitlab.com/astrachan-public/merge-request-source-dropdown/issues/1

What is the current bug behavior?

Unable to delete last character - it keeps popping up.

What is the expected correct behavior?

selection should be able to be cleared.

Relevant logs and/or screenshots

See attached giphy. source-branch-could-be-a-dropdown

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Results of GitLab application Check

Possible fixes

Change behavior of selector, change to a drop down.

Edited by 🤖 GitLab Bot 🤖