Cosme fulanito
Cosme fulanito
FFilament
Created by Cosme fulanito on 4/24/2024 in #❓┊help
Does RepeatableEntry support arrays or only models?
I looked into the code and noticed it seems geared towards handling Eloquent models specifically. Here’s what I found:
foreach ($this->getState() ?? [] as $itemKey => $itemData) {
$container = $this
->getChildComponentContainer()
->getClone()
->statePath($itemKey)
->inlineLabel(false);

if ($itemData instanceof Model) {
$container->record($itemData);
}
}
foreach ($this->getState() ?? [] as $itemKey => $itemData) {
$container = $this
->getChildComponentContainer()
->getClone()
->statePath($itemKey)
->inlineLabel(false);

if ($itemData instanceof Model) {
$container->record($itemData);
}
}
From this, it looks like non-model data like arrays doesn't get the same handling as models do. Has anyone successfully used RepeatableEntry with arrays? How did you manage it? Cheers!
4 replies
FFilament
Created by Cosme fulanito on 2/21/2024 in #❓┊help
Navigation on hover in Actions
Yes, I tried, but the navigation must be added to the <a> tag.
8 replies
FFilament
Created by Cosme fulanito on 2/21/2024 in #❓┊help
Navigation on hover in Actions
Prefetching the page on hover, like in https://livewire.laravel.com/docs/wire-navigate, I have implemented it with my own components. However, I am curious whether it is possible with vanilla Filament Actions.
8 replies
FFilament
Created by athphane on 9/19/2023 in #❓┊help
Laravel Echo not working: Receiving Database Notifications via Websockets
hi, did you get this working?
5 replies
FFilament
Created by JJSanders on 2/7/2024 in #❓┊help
Redis seems to not pickup imports
update to the latest version
7 replies
FFilament
Created by Cosme fulanito on 2/7/2024 in #❓┊help
Modal full height issue after update 3.2.25
No description
12 replies
FFilament
Created by Cosme fulanito on 2/7/2024 in #❓┊help
Modal full height issue after update 3.2.25
The issue was resolved after running npm run build, @Dan Harrin.
12 replies
FFilament
Created by Cosme fulanito on 8/3/2023 in #❓┊help
Exception with Filament 3: Property type not supported in Livewire
@Hugh Messenger, thank you. Implementing Wireable worked, good catch! Thanks again.
10 replies
FFilament
Created by Cosme fulanito on 8/3/2023 in #❓┊help
Exception with Filament 3: Property type not supported in Livewire
For more context, this only happens in the EditRecord and ViewRecord classes
10 replies