#89187Slug recreation is not available for generator fields with type=inline
Description
Issue
If a element of type=slug has a single generator field with type=inline defined, Slug recreation in the Form engine is not possible. This is because the recreation button will be disabled if the generator fields are not available for proposal generation.
Repro
Create a field with the following configuration and make it visible in the backend:
'slug' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:pages.slug',
'config' => [
'type' => 'slug',
'size' => 50,
'generatorOptions' => [
'fields' => ['image'],
'fieldSeparator' => '/',
'prefixParentPageSlug' => true,
],
'fallbackCharacter' => '-',
'eval' => 'uniqueInSite',
'default' => '',
],
],
Now make sure you have a field with type=inline and name “image”.
Check in backend if the recreate button next to the slug field is disabled (see attachment).