#75494Suggest wizard not working in flexform array element when not the last field
Description
See attached file for example configuration. The responsible code can be found in TYPO3\CMS\Backend\Form\Element\SuggestElement::getNestedDsFieldConfig().
The current situation is as follows:- The foreach loop reaches the settings.subelements field.
- The method is called recursively for the subelements item configuration.
- It returns the field configuration for the nested content field, which is required for the suggest.
- The foreach loop continues with the settings.check field, overwriting the field configuration with an empty array.
To fix this a break should be added at step 3 if configuration is returned (not empty array).