- Issue created by @dbrouard
- 🇮🇳India dineshkumarbollu
@dbrouard
can you provide more info on steps to reproduce and complete error, i will try to test in system.
- 🇪🇸Spain dbrouard
Sure, we are using Drupal 9.5.10, form_steps 8.x-1.5+13-dev and cancel_button 8.x-1.3+5-dev
1. Create new forms steps /admin/config/workflow/forms_steps/add
2. Add and configure three steps.
3. We want to use the cancel in step one in order to skip step two, so we edit the step one cancel button, override the label and set the route to step 3:It shows this error:
Drupal\Core\Config\UnsupportedDataTypeConfigException: Invalid data type for config element forms_steps.forms_steps.test:steps.step_1.cancelStep in Drupal\Core\Config\StorableConfigBase->castValue() (line 213 of core/lib/Drupal/Core/Config/StorableConfigBase.php).