Mark required backend settings #required

Created on 20 June 2019, over 5 years ago
Updated 1 June 2023, over 1 year ago

This task was split off #3040901-34: Allow backend plugins to supply settings for the FillPdfSettingsForm .

Required backend settings are currently not marked #required. While being properly validated on the server-side, there's no visual hint neither client-side validation.

This isn't really straightforward, as we need to make sure form elements that are currently hidden by FormAPI #states are not marked #required, as client-side validation would otherwise block submission, even though the element is invisible.
We need to handle this in an #after_build callback.

🐛 Bug report
Status

Fixed

Version

5.1

Component

Code

Created by

Pancho UTC+2 🇪🇺 EU

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024