[go: up one dir, main page]

Skip to content

Update new label form to match Pajamas specs

Problem to solve

In #204818 (comment 601169638), we identified a number of areas of the UI that don't follow the Pajamas guidelines about form validation. According to Pajamas, all fields should be required unless specified with an (optional) and we shouldn't disable the Submit button if a required field is blank. However, the new label page doesn't match these specs.

image

Solution

  • Keep Create label button active (not disabled)

  • Implement an error message if the user hasn't completed a required field