Arjen
Dynamic ExportColumns based on JSON field in Exporter, possible?
I found a workaround that works for my use case. I added the ID to the
ExportAction->options([])
array and I've overridden the getCachedColumns
method to not get the columns from the static getColumns
method, but from a different method that can read the options. I've kept the session from before, because you can't read the non-static options in the static getColumns
method.
6 replies
GRecaptcha field disappears on livewire/update in a Livewire Component, but not in Panel Resource
I've figured it out, I had moved the app script in @vite to before the body, when I moved it back to the head, it works as it should.
Wrong:
Good:
6 replies
Form with Wizard not saving relations with non-default statePaths
Previous file continued:
The data retrieved in the submit method looks like this:
I can't get the selected categories saved in the $service record I created. Any idea what I'm doing wrong? The categories relationship is many to many. I also have a normal ServiceResource in my panel where the categories checkboxlist works as it should, however without any changes to the statePath.
3 replies
Error when prefilling from query string in resource with persistTabInQueryString enabled
Tried it that way but it's still not working. It seems like a bug in Filament. @Dan Harrin Any thoughts about it? Should I make an issue in the github repo?
11 replies
Error when prefilling from query string in resource with persistTabInQueryString enabled
I don't understand what validation rules have to with my problem. My query string gets validated fine, but I get a
Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization
when have the following enabled:
->persistTabInQueryString('tab')
11 replies