- 🇫🇷France just_like_good_vibes PARIS
Hello,
experiencing the same issue here.the problem, seems to be a bit deeper from my understanding.
Indeed, let's take the example of a settings of type "token".
i configure a block in layout builder, which is mapped to a pattern, and i have ui_pattern_settings module enabled.
my pattern has a settings of type token -> "close_title".
i can configure my block in layout builder without error, including the settings close_title.but when i save the layout, i have an error :
The configuration property third_party_settings.layout_builder.sections.0.components.3967b6f6-0208-4868-ba2f-8a3a6fefb983.configuration.settings.close_title.input doesn't exist." at /var/www/html/web/core/lib/Drupal/Core/Config/Schema/ArrayElement.php line 77
the "input" is added inside \Drupal\ui_patterns_settings\Plugin\TokenSettingTypeBase::settingsForm.
this function is called inside \Drupal\component_blocks\Plugin\Block\ComponentBlock::formatterSettingsProcessCallback
from my understanding, the component_block module, retrieves some form elements for the settings,
and in case of tokens, an. additional form key "input" is added, which further creates a configuration with that "input" as a parent key for the value, when it shouldn't.something would need to be changed inside \Drupal\component_blocks\Plugin\Block\ComponentBlock::blockSubmit ?