Issue with FALSE as submission values in configuration forms
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3540964. -->
Reported by: [jurgenhaas](https://www.drupal.org/user/168924)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>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.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Keep the submitted config values sanitized (no FALSE values), but make sure that the plugin configuration has those FALSE values before going into validation.</p>
issue