Open sabina-talipova opened 11 months ago
FieldList::findOrMakeTab() currently throws an InvalidArgumentException if the parent of a nested tab doesn't exist. We should instead add recursive creation of TabSets.
FieldList::findOrMakeTab()
InvalidArgumentException
See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/src/Forms/FieldList.php#L414
Description
FieldList::findOrMakeTab()
currently throws anInvalidArgumentException
if the parent of a nested tab doesn't exist. We should instead add recursive creation of TabSets.See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/src/Forms/FieldList.php#L414