Cannot use connectedTo: Cannot unpack array with string keys
Hi
I am having issues getting connectedTo to work in my Block. I have Twill 3.1.0 installed, but when I try to use connectedTo I get this error:
Cannot unpack array with string keys (View: \vendor\area17\twill\views\partials\form\renderer\block_form.blade.php)
This is the code I am using
The code was taken from https://github.com/area17/twill/pull/2323#issue-1869723726
I cannot figure out what I am doing wrong... Any help would be greatly appreciated.
GitHub
Add connected fields support to the Twill 3 form builder by joyceve...
Description
This has been reported many times on Discord as missing from the new form builder. Developers were forced to use a BladePartial field to use the @formConnectedField directive or compone...
TM
Tom M•59d ago
Okay me again, out of curiosity I changed my PHP version from 8.0.11 -> 8.1.13 and it now works without issue. Is PHP 8.0 still being supported?
I've just tested on a fresh install, and still not working 🙁
PHP 8.0
Laravel 9.5.2
Twill 3.2.0
I
ifox•59d ago
interesting, thanks for reporting @Tom M
1.4KMembers
View on DiscordWant results from more Discord servers?
More Postsasynchronous request in selectGood afternoon, I have two select fields. The thing is that when selecting the first select field, IUpgraded from Twill 2.13 to 3.2, frontend error when saving a module that uses 'editInModal' => trueI upgraded from Twill 2.13 to 3.2. When saving a module that is created/edited via a modal (using $iUpgraded from Twill 2.13 to 3.2, raw HTML links visible in browserHi,
I upgraded from Twill 2.13 to 3.2. I am now seeing raw HTML edit links in my "Projecttags" browHow to use Conditional Fields in ControllerI want to add a Author select fields when shared_by === user
` $form->add(
Radios::maBlock editor preview Vite issue?Hey all, I'm getting this when I preview a page module block editor in the admin:Upgrading from 2.0 to 3.0 -Block Editor $groups issueHello! I'm getting a strange error (see picture). I've tried clearing all caches. It only happens onInline Repeater get's overridden by another InlineRepeater with the same name in another block.The code in first image get's overriden by the code in the second image in admin panel.
Normally, whTable custom columnHello! I created module Product and relationship with module Category. I would like to display categ