Carmine Spagnuolo
Carmine Spagnuolo
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
Anyway now I have a repeater field with a toggle field and it will cause graphical issue
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
I use to define the form function into the editpage and not into the resource, i moved to resource the form method e removed from edit
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
it starts to add other items automatically
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
if I add and remove element
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
but now one of my Repeater
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
into the editpage
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
before the edit form was defined
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
I solved by putting all in the form of the resourse
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
when the resourse is loaded
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
the problem is that the $record value is null
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
Schema::create('events', function (Blueprint $table) {
$table->uuid('id')->primary();
...
Schema::create('events', function (Blueprint $table) {
$table->uuid('id')->primary();
...
`
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
I use Uuid for ID
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
mmm
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
no is just a normal Resource
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
(I suppose that I missed some stuff in upgrading or I don't know)
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
what kind of information do you need
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
@Dennis Koch
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
when I open edit page
Call to a member function items_chiesa() on null
Call to a member function items_chiesa() on null
`
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
the function items_chiesa is defined in the model of the resource as normal..
25 replies
FFilament
Created by Carmine Spagnuolo on 10/31/2023 in #❓┊help
All relationship does not work after update to v3
It is a normal project I just update to v3 and now any kind of form' fields with relationship give the Call to a member function x() on null for instance:
Forms\Components\Repeater::make('items_chiesa')
->grid(3)
->itemLabel(fn (array $state): ?string => $state['music_role_id'] ?? null)
->relationship()
...
Forms\Components\Repeater::make('items_chiesa')
->grid(3)
->itemLabel(fn (array $state): ?string => $state['music_role_id'] ?? null)
->relationship()
...
25 replies