dropdowns KO #504
Replies: 10 comments 1 reply
-
Hey @blondie63 can you help me a bit more here ? What you mean that all dropdowns KO ? Can you put some screenshots ? Also did you check browser console for Javascript errors ? Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi @pxpm I've created two videos t pic-drop-down-ko.mp4In this second video you can see another app where i can use the very same code and there's no problems: Booking-dropdown-ok.mp4What you think ? |
Beta Was this translation helpful? Give feedback.
-
Thinking a js problem i've done this: But the result remains the same! So I decided to debug client side and look what I found! When the page loads there are some exceptions but going on at a certain point the DropDown is loaded and in fact I see the value (Country = Italy) but going on it still disappears! pic-drop-down-ko-js-debug.mp4 |
Beta Was this translation helpful? Give feedback.
-
Here a new video showing some console errors pic-drop-down-ko-js-debug-err.mp4 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @pxpm , thanks for your reply ! |
Beta Was this translation helpful? Give feedback.
-
Finally i've found the code block indicted:
@pxpm , |
Beta Was this translation helpful? Give feedback.
-
@pxpm I've seen another thing, running composer outdated on working project i've this result: Transitive dependencies not required in composer.json: Instead running same command on project where crud select or select2 does'nt works i've this: Transitive dependencies not required in composer.json: Could this be the problem? |
Beta Was this translation helpful? Give feedback.
-
@pxpm Hi, deleting code you notify me in #517 this issue is fixed! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I racked my brain one day but I can't figure out why, suddenly in one of my webapps, all the dropdowns no longer work and don't show any elements.
Clearly I check the tables of the DB and I also used DD() to see the values of the linked tables and everything is fine!
Laravel.log has no errors !
Then I understand it was a Crud, instead everyone has the same problem, even some that I haven't modified for a long time!
Ah, I'm using everything updated:
PHP VERSION:
PHP 8.2.6 (cli) (built: May 10 2023 06:36:11) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.6, Copyright (c) Zend Technologies
with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans
with Zend OPcache v8.2.6, Copyright (c), by Zend Technologies
LARAVEL VERSION:
v10.12.0@9e6dcff23ab1d4b522bef56074c31625cf077576
BACKPACK PACKAGE VERSIONS:
backpack/crud: 5.6.0
backpack/devtools: 1.3.5
backpack/editable-columns: 2.1.4
backpack/generators: 3.3.16
backpack/pro: 1.6.4
attached part of my code
DropDownKO-Help.zip
Some ideas to help ?
Beta Was this translation helpful? Give feedback.
All reactions