repeater - anonymous action - fillForm
I have a repeater with anonymous action to open a modal inside a resource as:
and I want to get the data of the repeater item
tried Get $get, $state, $data, $record
but I am always getting only the first item in the Repeater when trying to access the record
not sure what to inject there in
fillForm
BTW the same code works just fine when not inside a repeater!
any idea?5 Replies
anyone have a work around for this isseu?
i'm not sure, but could it be something related to this:
https://filamentphp.com/docs/3.x/forms/fields/repeater#using-get-to-access-parent-field-values
not really π , I am trying to access the current repeater item not the parent
I submitted a bug too, will see π€
https://github.com/filamentphp/filament/issues/9348
GitHub
repeater anonymous action not aware with current item state Β· Issue...
Package filament/filament Package Version v3.0.69 Laravel Version 10.26.2 Livewire Version No response PHP Version v3.0.5 Problem description adding anonymous action to a repeater and using fillFor...
also it's only affect actions other components works fine