Upgrading from 2.0 to 3.0 -Block Editor $groups issue
Hello! I'm getting a strange error (see picture). I've tried clearing all caches. It only happens on one of my modules (name "Pages" module).
I suspect this might be due to some now-deprecated style of handling blocks, but I'd really rather not update all unnecessary code yet and want to get my production site up and running first, lol.
When I dig into the cached view it references in that error, I see this:
<x-twill::block_editor :groups='$groups' />
Also, this error goes away if I comment out this from the affected-module's form page:
Any hints ya'll can think of?KyleAF•89d ago
HAHA, I spent about an hour trying to figure this out before bed, and figured it out RIGHT after I posted this
For anyone else who has this issue: You can't be lazy with the "groups" variable in the blade template. It HAS to be an array now, and can't be a string anymore. That error message seems pretty obvious in hindsight now, lol
ifox•89d ago
glad you figured it out. I'll make sure this is called out in the upgrade guide.
1.4KMembers
View on DiscordWant results from more Discord servers?
More PostsInline 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 categMulti select selected issueIn twill3 I created 2 CRUD, ImportedItem and ItemTypes. I used Multiselect for selecting ItemTypes.
Upgrading from 2.0 to 3.0 - routing issuesHello! I'm currently updating twill to 3.0 from 2.0, and I'm having some issues with routes.
I'm getDisabled defaults in controller based on user RoleGroupI want to disable, create, edit or delete actions according to user RoleGroup or there is another waDrag and drop issueHello, any idea how to achive DnD working on modules list.
Problem is in that when you go below limiFile library 404 errorHello, I'm encountering issues with the file library. When I upload a file, such as a .txt file, it'InlineRepeater deleting data on related Model entriesI'm using an InlineRepeater to add relations with pivot data between two Repositories. The relations