Ilham Dimas Prayudha
conditionally hide relation page
That's work for relation manager, what i want is to conditionally hide relation pages https://filamentphp.com/docs/3.x/panels/resources/relation-managers#relation-pages
5 replies
SpatieMediaLibraryImageEntry error Attempt to read property "media" on null on RepeaterEntry
When i use SpatieMediaLibraryImageEntry outside RepeatableEntry, it works properly. I got this error when use it inside RepeatableEntry.
8 replies
SpatieMediaLibraryImageEntry error Attempt to read property "media" on null on RepeaterEntry
Sorry, i already edited it, so this code is on my ProductResource, when i want to make infolist like the code above, it give me error, another entry like TextEntry inside RepeatableEntry is working properly.
8 replies
Save value from TextInput for sarch
Yes you can, first you need to make TextInput::make('search')->live, then render it in your livewire view component{{ $this->form }}, in your livewire component add this
public ?array $data = [];
public function mount(): void
{
$this->form->fill();
}
then in your query do like this $products = Product::where('name', ,'like', '%' . $this->data['search'] . '%')->get();
customize form field and query logic as you need. Hope it's help!
11 replies
Remove "Laravel" text from Login page
Of course not, it's like we can customize getHeading() in CustomLogin that extend filament Login class, so it will affect in Login Page only. And it's not my problem btw, i'm not the OP, i'm just trying to help too 😅
10 replies