[v5 Bug] loadOnce directive is not rendered on edit form after update to v5
See original GitHub issueBug 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (11 by maintainers)
Top Results From Across the Web
Directives not working with FormControl after upgrading to ...
I have used directives for enabling and disabling forms ...
Read more >Release Notes :: 5.x Docs
Easily Include CSS and JS Assets Only Once Per Page Backpack now ships with a new @loadOnce() directive, which makes sure that piece...
Read more >DreamGrid Revisions manual
Opensim no longer uses Autobackup as its handled by Dreamgrid. V5.22. Backups not starting on schedule. Frozen regions would not auto restart after...
Read more >Web on Servlet Stack
Parallel to Spring Web MVC, Spring Framework 5.0 introduced a reactive-stack web framework ... Useful for rendering error pages in a browser application....
Read more >The Grails Framework 5.2.5
In any text editor, edit the new controller — the HelloController.groovy file — by adding a render line. The edited file's code should...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You need to pin
spatie/laravel-permission
to5.5.0
, don’t touchbackpack/permissionmanager
. Once you have pinned and installed, then you might want tophp artisan view:clear
.Solved in https://github.com/DigitallyHappy/assets/pull/13 and https://github.com/spatie/laravel-permission/pull/2048
No need to lock spatie/laravel-permission to 5.5.0 any more. A
composer update
should pull the latestdigitallyhappy/assets
and have this fixes 💪 Let us know if it doesn’t.Thanks for sticking with us guys. This has been such a painful one…