Skip to content
Snippets Groups Projects

Resolve #3529045 "2.0.5 value zero"

Merged Mikael Meulle requested to merge issue/ui_patterns-3529045:3529045-2.0.5-value-zero into 2.0.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -127,7 +127,7 @@ class ComponentElementBuilder implements TrustedCallbackInterface {
// For boolean values, we only remove NULL values.
return match ($prop_type->getPluginId()) {
'attributes' => FALSE,
'boolean' => ($data === NULL),
'boolean', 'number' => ($data === NULL),
default => empty($data),
};
}
Loading