Issue with FALSE as submission values in configuration forms

Created on 12 August 2025, about 1 month ago

Problem/Motivation

Unchecked checkboxes do not submit any value. If they submitted FALSE, that would be recognized as TRUE by Drupal's submit handler. Modeler API already filters them out before validating the submitted configuration. The problem is that those unset config values get replaced by default values during validation, and they may be TRUE again.

Proposed resolution

Keep the submitted config values sanitized (no FALSE values), but make sure that the plugin configuration has those FALSE values before going into validation.

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.71.5 2024