Neamix
Explore posts from serversDynamic Filter
I want to create dynamic filter like step filter example i have table pet and each pet have type and each type contain a group of species so what i want to do here to allow user to choose the type first then the species appear to him i tried that concept
the only reason that i used query() because it was the only thing that worked as a callback function and this approche worked but the problem is that he get the prev type as example if i have type 0 default ,1 ,2 if i changed type from 0 to 1 it will show species of 0 if i changed 1 to 2 it will show species of 1 and so one
3 replies
Notification broadcast
i read the filament notification broadcast https://filamentphp.com/docs/3.x/notifications/broadcast-notifications i installed pusher successfully but the main problem that i cant find any channel occupied so do i have to do it manualy and if yes how to make filament refresh the notification when it receive a one
3 replies
Filepound stop working
I have filepound on a custom page this page is a chatroom so the user can send image by using filepound the main problem that when the user click on send btn its update the database as excepected but filepound stop working and i guess the probelm is when the filement update the blade it doesnt re run the scripts so anyone now how to handle that
2 replies
Add submit button to filament form in custom page
I have custom page called chat inside it i added filament form
the blade
i want to add submit button to the form where on click the form will validate then insert it to message table, i tried to search in filament form docs but i cant find any clue
3 replies
Filament Page
Hey guys, I am still new to filament and i have a quick question after read the filament page documentation https://filamentphp.com/docs/2.x/admin/pages/actions
i only find an explaination on how to use filament page functions but i didn't find how can i can view this functions as example
this function should as far as know display a button called settings but after i use it directly in filament class nothing appeared so i found that i need to call actions in blade but i cant find any docs on how to do that so anyone have any idea where i can find this infos
19 replies
Filament Modal
I have a custom page contain button on click on that button i want modal to open i tried to use emit but it doesnt work
my blade code
my .php file
```
<?php
namespace App\Filament\Pages;
use Filament\Pages\Page;
use Filament\Forms;
use Filament\Forms\Components\TextInput;
use Filament\Notifications\Notification;
use Filament\Actions\Action;
class Members extends Page
{
protected static ?string $navigationIcon = 'heroicon-o-document-text';
protected static string $view = 'filament.pages.members';
protected static ?string $navigationLabel = "members";
protected static ?string $title = "members";
protected ?string $heading = "";
public $showInvitationModal = true;
public function openModal()
{
$this->showInvitationModal = true;
}
public function closeModal()
{
$this->showInvitationModal = false;
}
}
6 replies