fieldWizard

fieldWizard
Type:array
Scope:Display
Types:check, flex, group, imageManipulation, input, radio

Specifies wizards rendered below the main input area of an element. Single type / renderType elements can register default wizards which are merged with this property.

As example, type=’check’ comes with this default wizards configuration:

protected $defaultFieldWizard = [
   'localizationStateSelector' => [
      'renderType' => 'localizationStateSelector',
   ],
   'otherLanguageContent' => [
      'renderType' => 'otherLanguageContent',
      'after' => [
         'localizationStateSelector'
      ],
   ],
   'defaultLanguageDifferences' => [
      'renderType' => 'defaultLanguageDifferences',
      'after' => [
         'otherLanguageContent',
      ],
   ],
];

This is be merged with the configuration from TCA, if there is any. Below example disables the default localizationStateSelector wizard.

'aField' => [
   'config' => [
      'fieldWizard' => [
         'localizationStateSelector' => [
            'disabled' => true,
         ],
      ],
   ],
],

It is possible to add own wizards by adding them to the TCA of the according field and pointing to a registered renderType, to resort wizards by overriding the before and after keys, to hand over additional options in the optional options array to specific wizards, and to disable single wizards using the disabled key. Developers should have a look at the FormEngine docs for details.