- Issue created by @wim leers
Discovered in ✨ Create a ComponentSource plugin for JS components Active .
Try using the sdc_test:my-cta
SDC.
XB happily accepts it. But then creates an input UX that crashes, due to one of the allowed values for the target
prop being ''
.
Modify \Drupal\experience_builder\JsonSchemaInterpreter\SdcPropJsonSchemaType::computeStorablePropShape()
: detect if ''
is one of the values in the enum
and if so, return NULL
(to indicate this is not supported).
None.
Active
0.0
Shape matching
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.