decidim
decidim copied to clipboard
Disable hidden fields for all forms
:tophat: What? Why?
This PR add the "disabled" property to a few hidden fields in some specific forms. The goal is to have 100% uniformity in the codebase: if the field of a form is hidden, then it is disabled. See the issue for why I think it's important.
:pushpin: Related Issues
- Fixes #15464
Testing
- Go to admin
- Create a new participatory process
- Create a new "metting" event
- click on Type -> In person
- inspect the page The input element "online_meeting_url should be hidden but not disabled. If you refresh the page, the element "meeting_registration_url" should be disabled to
All the other forms should work in the same way as before.
:camera: Screenshots
N/A
:hearts: Thank you!
Are all the failed test produced by my change ? I find it surprising given that I change only a few js files. But I'm a completely new contributor so it's possible. Thank's for the help and the time.