You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Bug report
Backpack does not guess the column attributes for
subfields
.Create a
HasMany
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:The text was updated successfully, but these errors were encountered: