Skip to content

Delete `requires_input.js` behavior

Coung Ngo requested to merge cngo-remove-jquery-from-requires-input into master

What does this MR do and why?

Delete requires_input.js behavior

Remove this behavior which disables submit button when required fields are empty, as this is not recommended UX

Changelog: changed

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Submitting an empty form will now show a HTML5 validation error message

Screenshot_2024-07-04_at_3.09.01_PM

How to set up and validate locally

  1. Test a form formerly with js-requires-input, e.g. http://127.0.0.1:3000/-/user_settings/gpg_keys
Edited by Coung Ngo

Merge request reports