Skip to content

Migrate `form_errors` in group settings to Pajamas alert

What does this MR do and why?

Migrate form_errors in app/views/groups/settings/_permissions.html.haml to Pajamas::AlertComponent.

Screenshots or screen recordings

Scenario Screenshot
Before image
After image

How to set up and validate locally

  1. Go to any group on your local GDK.
  2. Open the group settings.
  3. Expand the Permissions and group features section.
  4. In the Delay 2FA enforcement (hours) input field enter any text like abc.
  5. Click on Save changes.
  6. Observe that error alert is shown.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #364966 (closed)

Edited by Sharmad Nachnolkar

Merge request reports