Ensure that autcomplete search input is populated with group/project text on dropdown selection
What does this MR do?
Fixes a regression in glDropdown filed here: https://gitlab.com/gitlab-org/gitlab-ce/issues/21016
More specifically, it adds an id
filter, which configures GlDropdown to populate the search input with the search suggestion's name an empty string.
Why was this MR needed?
Currently, on gl.com, when you search for a project or group, and click on one from the returned results, the search input will be populated with the project or group's id
which isn't human readable.
Screenshots (if relevant)
After:
Does this MR meet the acceptance criteria?
-
Changelog entry added -
All builds are passing -
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together