Vulnerability: bugfix of add issues form disappearing

What does this MR do and why?

Vulnerability: bugfix of add issues form disappearing

This fixes a regression reported in Unable to add an existing issue to a vulnerability (#482937 - closed)

Also moves the form error message inline, so it's easier to catch and to be congruent with issuables.

Changelog: fixed

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
before after
error_after

How to set up and validate locally

  1. Go to a Vulnerability report, try to reference an issue

Related to #469616 (closed)

Closes #482937 (closed)

Merge request reports

Loading