Skip to content

Ensure that autcomplete search input is populated with group/project text on dropdown selection

username-removed-408230 requested to merge dashboard-project-id into master

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)

Before: 2016-11-09_15.46.14

After:

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports