Selecting an autofill suggestion for project name will not update the project slug

Summary

Somewhat of an uncommon use case as we wouldn't encounter many projects with the same name, but the project slug will not automatically update when using an autofill suggestion for the project name field.

Likely related to the change in https://gitlab.com/gitlab-org/gitlab-ce/issues/2934d

Steps to reproduce

  1. Create new project
  2. Click on project name form input
  3. If autofill is enabled in your browser, select one of the suggestions (likely previously used names)
  4. Observe that the project slug does not update even when filling out the rest of the project details.

What is the current bug behavior?

Project slug does not update after selecting autofill suggestion for project name.

What is the expected correct behavior?

Project slug should update after selecting autofill suggestion for project name.

Relevant logs and/or screenshots

slug

Possible fixes

Update slug on project name input blur?

Assignee Loading
Time tracking Loading