Bruno Pereira
Bruno Pereira
FFilament
Created by Sam ツ on 11/9/2024 in #❓┊help
Blocking logins from different domains
Check your canAccess function on the user model, maybe you're checking the email domain there. By default laravel auth doesnt block access based on the domain.
4 replies
FFilament
Created by J3R1CH0 on 11/9/2024 in #❓┊help
Why is the create button still rendering below even though I used a wizard?
This is an aexample
13 replies
FFilament
Created by J3R1CH0 on 11/9/2024 in #❓┊help
Why is the create button still rendering below even though I used a wizard?
Are you importing the right Action? It should be use Filament\Actions;
protected function getFormActions(): array
{
return [
Actions\Action::make('View Result')
->color('primary')
->url(fn(Result $record) => url(ViewResult::getUrl(), $record)),
];
}
protected function getFormActions(): array
{
return [
Actions\Action::make('View Result')
->color('primary')
->url(fn(Result $record) => url(ViewResult::getUrl(), $record)),
];
}
13 replies
FFilament
Created by J3R1CH0 on 11/9/2024 in #❓┊help
Why is the create button still rendering below even though I used a wizard?
instead of return [] you can return any action you want. but it will appear on every step
13 replies
FFilament
Created by J3R1CH0 on 11/9/2024 in #❓┊help
Why is the create button still rendering below even though I used a wizard?
If you're using a form you can try to hide the actions with this
protected function getFormActions(): array
{
return [];
}
protected function getFormActions(): array
{
return [];
}
13 replies
FFilament
Created by J3R1CH0 on 11/9/2024 in #❓┊help
Why is the create button still rendering below even though I used a wizard?
13 replies
FFilament
Created by Bruno on 11/1/2024 in #❓┊help
Is there a way to move a getFormActions button?
you can override the getFormActions() and choose the order of the actions you want
4 replies
FFilament
Created by elrincondeisma on 11/1/2024 in #❓┊help
Error in S3 upload
Don't save the url but the relative path to the root dir of the s3 bucket and let the filesystem handle the full path.
6 replies
FFilament
Created by Ookma-Kyi Project Leader on 10/31/2024 in #❓┊help
Set table to use for filament resource
I never used that package, I can't help further.
14 replies
FFilament
Created by Ookma-Kyi Project Leader on 10/31/2024 in #❓┊help
Set table to use for filament resource
it's a polymorphic?
14 replies
FFilament
Created by Ookma-Kyi Project Leader on 10/31/2024 in #❓┊help
Set table to use for filament resource
do you have a model called model?
14 replies
FFilament
Created by Ookma-Kyi Project Leader on 10/31/2024 in #❓┊help
Set table to use for filament resource
if thats the pivot table of a many to many relation, do you have the relations well defined?
14 replies
FFilament
Created by Ookma-Kyi Project Leader on 10/31/2024 in #❓┊help
Set table to use for filament resource
Without any code I can't help you. What are you trying to do exactly?
14 replies
FFilament
Created by Ookma-Kyi Project Leader on 10/31/2024 in #❓┊help
Set table to use for filament resource
As you can see, the project is trying to access
model__has__roles instead of model_has_roles
model__has__roles instead of model_has_roles
.
14 replies
FFilament
Created by Ookma-Kyi Project Leader on 10/31/2024 in #❓┊help
Set table to use for filament resource
In the model class try putting
protected $table = 'model_has_roles';
protected $table = 'model_has_roles';
14 replies
FFilament
Created by Mokatchi on 10/31/2024 in #❓┊help
recordClasses() added the class name to the table tr but the style doesn't applied
you have to explore the dev tools and find the styles.
19 replies
FFilament
Created by Mokatchi on 10/31/2024 in #❓┊help
recordClasses() added the class name to the table tr but the style doesn't applied
Filament only builds the classes that it uses. If it's a custom class that you need, you have to create a custom theme.
19 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
I dont think thats possible using the in built export action
28 replies
FFilament
Created by Gudao on 5/21/2024 in #❓┊help
Customize and export a JSON column
it says in the docs
28 replies