[Bug] Select2 on `relationship` field (PRO) is squished
See original GitHub issueBug report
What I did
I added a CRUD::field('users')->type('relationship')
to a field in a setupCreateOperation()
function.
What I expected to happen
It would always display like this:
What happened
90% of the time, it displays like this:
What I’ve already tried to fix it
Nothing, really. It seems to be caused by some sort of race condition. To “fix” it, I refresh until I see it correctly.
Is it a bug in the latest version of Backpack?
Yes, upgraded to 5.0.18. backpack/pro
is 1.0.17.
Backpack, Laravel, PHP, DB version
### PHP VERSION:
PHP 8.1.5 (cli) (built: Apr 21 2022 10:15:06) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.5, Copyright (c) Zend Technologies
with Zend OPcache v8.1.5, Copyright (c), by Zend Technologies
with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans
### LARAVEL VERSION:
v9.11.0@598a8c84d452a66b90a3213b1d67189cc726c728
### BACKPACK VERSION:
5.0.18@06ea421e44c353604ba56669e1fd3ac7a18981df
Issue Analytics
- State:
- Created a year ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Common problems - The jQuery replacement for select boxes
Select2 does not function properly when I use it inside a Bootstrap modal. This issue occurs because Bootstrap modals tend to steal focus...
Read more >https://www.unigauge.com/wp-content/themes/Divi/ch...
Fixed some shortcut keys not being overridden in Select2 input fields. ... Fixed Divi Builder plugin not working correctly with Onetone Pro theme....
Read more >honey select bone mod
If you saw any clothes that are broken (stretched into the ground) you probably were ... 72GB; honey-select-2-libido-dx-betterrepack-r3 - Downloader.
Read more >When using Select2, field gets too narrow when there are no ...
Make use of the width option of select2 as follow : $('#example').select2({ placeholder: 'Select a month', width: "100%" });
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 Free
Top 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
I can confirm it’s fixed! Thanks for the super quick work on this! And no need to apologize 😁
Thanks @GRardB for the help here!
Cheers 🍻