PANC
PANC
FFilament
Created by PANC on 12/11/2023 in #❓┊help
Change form validation on custom action click.
Was able to solve this on the custom "createDraft" function using the livewire $this->validate and passing only the new rules. Thank you 🙂
5 replies
FFilament
Created by PANC on 11/29/2023 in #❓┊help
Can i use breeze authentication on filament?
Was able to solve it creating a app/Filament/Auth/Login.php public function authenticate(): ?LoginResponse { $data = $this->form->getState(); $user = User::where('username', $data['username'])->first(); //LDAP LOGIN using ldap_connect //Then if the LDAP returns true Filament::auth()->login($user); } Then i got an error saying that something went wrong with the getUserName() method from FIlament Was fixed by editing the user model implementing the HasName and declaring public function getFilamentName(): string { return $this->name; }
5 replies
FFilament
Created by PANC on 11/27/2023 in #❓┊help
Filament Table column hidden with condition
Will mark as solved
8 replies
FFilament
Created by PANC on 11/27/2023 in #❓┊help
Filament Table column hidden with condition
Thank you @Leandro Ferreira and @Tieme This solves one of my problems 🙂 Thank you 😄
8 replies
FFilament
Created by PANC on 11/27/2023 in #❓┊help
Filament Table column hidden with condition
Thank you for replying 🙂 And with this state() function, how can i trigger the hide() for current element or any other element?
8 replies
FFilament
Created by PANC on 11/24/2023 in #❓┊help
Nest resources in sidebar navigation
Yes. Looks like it.
3 replies