FluidTYPO3 / flux

TYPO3 extension Flux: Dynamic Fluid FlexForms
https://fluidtypo3.org
146 stars 212 forks source link

How to migrate wizard.suggest #2149

Closed infastra closed 4 months ago

infastra commented 8 months ago

This is not a bug, but I looked everywhere and couldn't find a solution. How can I migrate flux:wizard.suggest?

`

`
magicsunday commented 7 months ago
<flux:field type="group"
    name="tour"
    label="Tour"
    config="{allowed: 'tableName', size: 1, minitems: 0, maxitems: 1, required: 1}"
/>

Seems like that's the suggest-wizard is not explicitly required anymore. To add any "suggestOptions" pass it to the "config"-Array. https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Group/Properties/SuggestOptions.html

NamelessCoder commented 4 months ago

Closing, @magicsunday is right about the new method! By the way this is true for every wizard - the concept of wizards no longer exists as such, it's replaced by field options and you'll need to look up the TCA field type to see which options to use.