$get a field on schema stopped working
Forms\Components\Fieldset::make('Fields')->schema(
function (\Closure $get) {
ray($get('class'));
Used to work, and it doesn't work anymore
ray($get('class')); returns null now
do you know why?
10 Replies
please share the rest of the form
is it inside a repeater?
this is the form
it's inside a repeater
I dynamically load fields based on a select, inside a repeater
the repeater is probably causing the issue
i think theres an issue open on github. for now, downgrade filament
do you know the specific version?
GitHub
Repeater and relationships broken since upgrade from 2.17.8 · Issue...
Package filament/filament Package Version 2.17.10 Laravel Version 10 Livewire Version No response PHP Version 8.2 Problem description Since upgrade from 2.17.8 to 2.17.10 The repeater relationship ...
ok
yes, using 2.17.8 fixed the issue for now
@Fede please try the new release, should be fixed
@Dan Harrin yes, it works now. Thank you!