Disables the target branch dropdown if no source branch is selected
What does this MR do and why?
Disables the target branch dropdown when no source branch has been selected on the new merge request compare form
Screenshots or screen recordings
Screen_Recording_2023-12-07_at_12.04.42
How to set up and validate locally
- Visit http://gdk.test:3000/gitlab-org/gitlab-test/-/merge_requests/new
- Target branch dropdown should be disabled
- Select source branch
- Target branch dropdown should now be enabled
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.