Open susanu opened 4 weeks ago
Hey @susanu indeed there is an inconsistency here that we should probably address, but i've already spent quite some time today trying to make this work, and it doesn't have a simple solution.
Inferring the attributes is not the biggest issue, but it breaks other parts of the functionality like the linkTo()
macros for example. And it may be a breaking change also in other places I am not aware now.
I will postpone working on this on the next major version so that we can confidently introduce this, even with unknown breaking changes that we can document/fix when discovered.
For now, we need to keep manually adding the attributes to subfields in the columns.
Cheers
Bug report
Backpack does not guess the column attributes for
subfields
. Create aHasMany
relationship and try to display it like in the example below.Is it a bug in the latest version of Backpack?
Yes
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is: