shafiqruslan
shafiqruslan
FFilament
Created by shafiqruslan on 9/19/2024 in #❓┊help
Skip Registration Team if user is an admin?
Hi, Anyone knows how to do it? I try to use a middleware and register it in AuthMiddleware but i got too many redirect error.
3 replies
FFilament
Created by shafiqruslan on 9/28/2023 in #❓┊help
How to view some data in Edit Resources
Hi, does anyone knows how can i view data in Edit Resources like in this demo. https://demo.filamentphp.com/shop/customers/1/edit . I couldn't found any documentation about it.
7 replies
FFilament
Created by shafiqruslan on 9/28/2023 in #❓┊help
Card Ui like https://filamentphp.com/plugins
Hello guys, does filament provide ui like https://filamentphp.com/plugins. Any documentation for it?
7 replies
FFilament
Created by shafiqruslan on 9/2/2023 in #❓┊help
How to use relationship in Wizard Step?
for example like this
Forms\Components\Wizard\Step::make('Profile')
->schema([
Fieldset::make()
->relationship('userProfile')
->schema([
Forms\Components\Radio::make('gender')->options([
'male' => 'Male',
'female' => 'Female',
]),
Forms\Components\Radio::make('status')->options([
'active' => 'Active',
'inactive' => 'Inactive',
]),
Forms\Components\TextInput::make('identification_number'),
Forms\Components\DatePicker::make('date_of_birth'),
Forms\Components\TextInput::make('contact_number'),
Forms\Components\TextInput::make('street_address'),
])
])
->columns(2),
Forms\Components\Wizard\Step::make('Profile')
->schema([
Fieldset::make()
->relationship('userProfile')
->schema([
Forms\Components\Radio::make('gender')->options([
'male' => 'Male',
'female' => 'Female',
]),
Forms\Components\Radio::make('status')->options([
'active' => 'Active',
'inactive' => 'Inactive',
]),
Forms\Components\TextInput::make('identification_number'),
Forms\Components\DatePicker::make('date_of_birth'),
Forms\Components\TextInput::make('contact_number'),
Forms\Components\TextInput::make('street_address'),
])
])
->columns(2),
2 replies
FFilament
Created by shafiqruslan on 9/2/2023 in #❓┊help
How to make a wizard full width?
Below is my code:
Forms\Components\Wizard::make([
Forms\Components\Wizard\Step::make('Authentication')
->schema([
Forms\Components\TextInput::make('name')
->required()
->maxLength(255),
Forms\Components\TextInput::make('email')
->email()
->required()
->maxLength(255),
Forms\Components\TextInput::make('password')
->password()
->maxLength(255)
->dehydrated(fn ($state) => filled($state))
->required(fn (string $context): bool => $context === 'create'),
Forms\Components\Select::make('roles')
->preload()
->multiple()
->relationship('roles', 'name')
->columnSpan('full'),
]),
Forms\Components\Wizard::make([
Forms\Components\Wizard\Step::make('Authentication')
->schema([
Forms\Components\TextInput::make('name')
->required()
->maxLength(255),
Forms\Components\TextInput::make('email')
->email()
->required()
->maxLength(255),
Forms\Components\TextInput::make('password')
->password()
->maxLength(255)
->dehydrated(fn ($state) => filled($state))
->required(fn (string $context): bool => $context === 'create'),
Forms\Components\Select::make('roles')
->preload()
->multiple()
->relationship('roles', 'name')
->columnSpan('full'),
]),
7 replies
FFilament
Created by shafiqruslan on 9/1/2023 in #❓┊help
How i disabled the clickable row in TableBuilder
Hi everyone, is it possible to disable the clickable table row by condition?
4 replies
FFilament
Created by shafiqruslan on 8/31/2023 in #❓┊help
How can i set input required() for only in create page only
Cannot found any documentation about it.
4 replies