CRUD: [v5 Bug] loadOnce directive is not rendered on edit form after update to v5
Bug report
What I did
Updated from v4.1 to v5 following upgrade guide at: https://backpackforlaravel.com/docs/5.x/upgrade-guide.
What happened
Most of the things went well after update but it seems like new @loadOnce directive is not rendered for form fields on edit form. On top of the page are css and on the bootom js stuff. Rest of the application works fine.

Is it a bug in the latest version of Backpack?
After I run composer update backpack/crud the bug… is it still there?
Yes
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
PHP 8.1.3 (cli) (built: Mar 4 2022 17:38:46) (NTS) Copyright © The PHP Group Zend Engine v4.1.3, Copyright © Zend Technologies with Zend OPcache v8.1.3, Copyright ©, by Zend Technologies
LARAVEL VERSION:
v9.3.1@c1c4404511b83fbf90ccbcdf864d4a85537f35e4
BACKPACK VERSION:
5.0.9@d995de2026b6fcb1b13b469f371c929c29d1c1cc
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (11 by maintainers)
You need to pin
spatie/laravel-permissionto5.5.0, don’t touchbackpack/permissionmanager. Once you have pinned and installed, then you might want tophp artisan view:clear.