Bad validation message/flow for new milestone form
Summary
Creating a new milestone has a bad validation message or bad validation flow.
Steps to reproduce
On GitLab.com
- Click to go to the new milestone form page.
- Leave the Projects field empty.
- Click "Create Milestone"
Expected behavior
- A validation message that makes more sense, e.g.
Please select at least one project
.
OR
- A better alternative is to leave the Create Milestone button disabled until the required fields are all entered. In this case, the Projects field is a required field.
Actual behavior
See screenshot.