nova-flexible-content: Resource Details view fails to load in Nova 4.32.13 and up
Tested in Laravel Nova 4.32.13 and 4.32.15:
Loading a Nova Resource Details screen that has a Flexible
field causes the Chrome tab to lock up. No exceptions are logged, and no console errors are shown.
The latest version of Nova I’ve found to work properly with this package is 4.32.11
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Reactions: 17
- Comments: 19 (6 by maintainers)
Okay, I think I found the issue, the layout attribute keys were all being loaded and looped. So there were some extreme long strings, and layouts were being loaded that should not load.
I pushed my fix on #509. Is there anyone who could verify this works?
To test or use these changes, temporarily add my fork to the repositories property of your composer.json:
Then update your dependency constraint to reference this branch:
Finally, run: composer update
Please upgrade to
v1.1.0
for L11 compatibility and a revert of the problematic PR which caused this error.Good find. Works!
@LTKort Locally I’m testing with a single layout, containing 2 fields, and have the same issue noted by @ryandrobinson.
Can confirm version Nova 4.32.11 is functional with Flexible fields.