There's a small issue with 6.0-beta9 (and dev) release resulting in WSOD:
Drupal\sdc\Exception\InvalidComponentException: [configuration.label_display] Boolean value found, but a string is required in Drupal\sdc\Component\ComponentValidator->validateProps() (line 205 of /app/web/core/modules/sdc/src/Component/ComponentValidator.php).
It can be easily fixed by changing templates/block/block.html.twig file to something like
{% include 'radix:block' with {
configuration: {
label_display: 'above'
}
} %}
It looks like there's not documentation regarding the expected string values, though.
Comments
Comment #3
milos.kroulik commentedI've created a MR with the fix described above, the only difference is that
label_displayis set to expected valuevisible.Comment #4
doxigo commentedThe error suggests a fix in the component.yml file, I will check on this later
Comment #5
doxigo commentedThis is fixed Milos, thanks
Comment #7
jensbns commentedThe merge request always sets the label_display to 'visible' and makes you lose all the other objects set in
configuration.I think a better way is to edit the block component
block.component.ymlto allow types booleans in configuraction.label_displays.Comment #8
franknoel commentedI agree with @jensbns, I made a patch containing the mentioned changes for v6.0.0-rc5.
Comment #9
doxigo commentedThanks guys, updated on the latest dev