Skip to content

Add validation feedback for visibility level

What does this MR do?

This MR adds validation feedback for visibility level.

visibility-validation

Testing Case

This feature is behind a Feature Flag, to turn on:

Feature.enable(:fork_project_form)

Note: because the visibility level will always be selected, to test this, you will have to manually set the visibility to null in the code.

visibility: initFormField({
-  value: this.projectVisibility,
+  value: null,

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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

Related to #327835

Edited by Samantha Ming

Merge request reports

Loading