-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Select2 in repeatable is lazy loading #25
Comments
Hi @Rian190 I have tried to reproduce the issue using our backpack demo but did not encounter it. Here's what I tried:
Please let us know how we can help you debug this further. Thanks! |
Wasn't able to reproduce it too. The lazy load exception must had come from some other place. Let us know if you are still experiencing issues 🙏 |
The project I encountered this on has been discontinued and I don't have access to the code anymore. |
Bug report
What I did
I added a select2 in a repeatable.
And I activated the
Model::preventLazyLoading()
in the AppServiceProviderWhat I expected to happen
The view should load as expected.
What happened
The
Illuminate\ Database\ LazyLoadingViolationException
exception is thrownWhat I've already tried to fix it
??
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:PHP VERSION:
PHP 8.2.11 (cli) (built: Oct 6 2023 09:47:18) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.11, Copyright (c) Zend Technologies
with Zend OPcache v8.2.11, Copyright (c), by Zend Technologies
with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans
LARAVEL VERSION:
10.33.0.0
BACKPACK PACKAGE VERSIONS:
backpack/basset: 1.2.2
backpack/crud: 6.3.2
backpack/filemanager: 3.0.6
backpack/generators: v4.0.2
backpack/logmanager: v5.0.1
backpack/permissionmanager: 7.1.1
backpack/pro: 2.0.18
backpack/revise-operation: 2.0.0
backpack/settings: 3.1.0
backpack/theme-coreuiv2: 1.2.2
The text was updated successfully, but these errors were encountered: