KillAuro
KillAuro
FFilament
Created by Alnuaimi on 5/4/2025 in #❓┊help
Import Preview Table Filamentphp
after upload, parse csv to array and then make table in blade, use that array blade is livewire module
6 replies
FFilament
Created by Alnuaimi on 5/4/2025 in #❓┊help
Import Preview Table Filamentphp
you can use custom table widget if you are using filament php builder
6 replies
FFilament
Created by GUSTAVO2755 on 5/5/2025 in #❓┊help
How can I change the action after changing the password?
you should check the input validation method
7 replies
FFilament
Created by GUSTAVO2755 on 5/5/2025 in #❓┊help
How can I change the action after changing the password?
it is validation error
7 replies
FFilament
Created by Sam Axe on 5/2/2025 in #❓┊help
Encrypted cast doesn't load into inputs when using $hidden cast.
if you have isAdmin method in user model, you can do like following:
use Filament\Facades\Filament;

Forms\Components\TextInput::make('api_key')
->label('API Key')
->default(fn ($record) => $record?->api_key)
->visible(fn () => auth()->check() && auth()->user()->isAdmin()),

Forms\Components\TextInput::make('api_secret')
->label('API Secret')
->default(fn ($record) => $record?->api_secret)
->visible(fn () => auth()->check() && auth()->user()->isAdmin()),
use Filament\Facades\Filament;

Forms\Components\TextInput::make('api_key')
->label('API Key')
->default(fn ($record) => $record?->api_key)
->visible(fn () => auth()->check() && auth()->user()->isAdmin()),

Forms\Components\TextInput::make('api_secret')
->label('API Secret')
->default(fn ($record) => $record?->api_secret)
->visible(fn () => auth()->check() && auth()->user()->isAdmin()),
5 replies