- Issue created by @wim leers
- πΊπΈUnited States phenaproxima Massachusetts
wim leers β credited phenaproxima β .
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Thanks, @phenaproxima at https://git.drupalcode.org/project/experience_builder/-/merge_requests/8..., for making me realize this!
- πͺπΈSpain penyaskito Seville π, Spain πͺπΈ, UTC+2 πͺπΊ
Isn't this a duplicate of π Disable additionalProperties in slots, props in SDC json schema Active from core?
- πͺπΈSpain isholgueras
Confirmed you can create slot with emojis in the name,
and this breaks the site.
Note: breaks the site but you can remove the component and everything works
- πͺπΈSpain isholgueras
Isn't this a duplicate of π Disable additionalProperties in slots, props in SDC json schema Active : Disable additionalProperties in slots, props in SDC json schema from core?
I think it is. The validation is done in the
ComponentValidator.php
in core. Slot names don't seem to be validate. - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Because this is (well, must be) a XB-wide restriction, this
does not belong in\Drupal\experience_builder\ComponentSource\ComponentSourceInterface::checkRequirements()
, but at the config entity level.The issue summary is already accurate.