Skip to content

Geo Form Validations

Zack Cuddy requested to merge 213732-form-errors-ux into master

What does this MR do?

Currently, the Geo Form does not respond to form errors very intuively.

This adds validations to the form for name, url, and all the capacities.

This also disabled the save button when there is an error.

Screenshots

Errors
Primary Primary
Secondary Secondary

GIF

Interacting with the form Kapture_2020-05-14_at_15.28.44

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Closes #213732 (closed)

Edited by Zack Cuddy

Merge request reports