Tally
Tally
FFilament
Created by Koda on 6/20/2024 in #❓┊help
Clear Button in custom form
Weird... just tried your code in a testproject and it just works... no console errors?
11 replies
FFilament
Created by Koda on 6/20/2024 in #❓┊help
Clear Button in custom form
The action is a \Filament\Actions\Action
11 replies
FFilament
Created by Koda on 6/20/2024 in #❓┊help
Clear Button in custom form
Should work... a dd in the clear action is not showing?
11 replies
FFilament
Created by nowak on 6/11/2024 in #❓┊help
Is it possible to create a Filament settings page with a tabbed form, for multiple settings groups?
check out https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#using-multiple-forms to see the use of statePath for storing the different settings in seperate arrays
15 replies
FFilament
Created by nowak on 6/11/2024 in #❓┊help
Is it possible to create a Filament settings page with a tabbed form, for multiple settings groups?
no that's not necessary
15 replies
FFilament
Created by nowak on 6/11/2024 in #❓┊help
Is it possible to create a Filament settings page with a tabbed form, for multiple settings groups?
You're welcome... you can do it 😉
15 replies
FFilament
Created by nowak on 6/11/2024 in #❓┊help
Is it possible to create a Filament settings page with a tabbed form, for multiple settings groups?
and save() to write them back to the database 😉
15 replies
FFilament
Created by nowak on 6/11/2024 in #❓┊help
Is it possible to create a Filament settings page with a tabbed form, for multiple settings groups?
Use your own fillForm to fill your tabbed form with all the settings
15 replies
FFilament
Created by nowak on 6/11/2024 in #❓┊help
Is it possible to create a Filament settings page with a tabbed form, for multiple settings groups?
Yes indeed... then take some code from the base Settingspage to fit your needs
15 replies
FFilament
Created by ddoddsr on 6/10/2024 in #❓┊help
Aggregating relationships use two sums and calculate the percentage.
You could use:
Tables\Columns\TextColumn::make('connected_percent')
->state(function($record){
return $record->leads->sum('connected') / $record->leads->sum('connection_request');
}),
Tables\Columns\TextColumn::make('connected_percent')
->state(function($record){
return $record->leads->sum('connected') / $record->leads->sum('connection_request');
}),
beware of division by 0 🙂
6 replies
FFilament
Created by ddoddsr on 6/10/2024 in #❓┊help
Aggregating relationships use two sums and calculate the percentage.
Hi there
6 replies
FFilament
Created by nowak on 6/11/2024 in #❓┊help
Is it possible to create a Filament settings page with a tabbed form, for multiple settings groups?
Hi there, I think this would be possible but you have to "lend" some code from use Filament\Pages\SettingsPage to get it to work
15 replies
FFilament
Created by QCTFW on 6/3/2024 in #❓┊help
How to add big buttons to dashboard?
also a good answer!
6 replies
FFilament
Created by QCTFW on 6/3/2024 in #❓┊help
How to add big buttons to dashboard?
Try creating a custom widget
php artisan make:filament-widget
php artisan make:filament-widget
Give it a name and select Custom after that
6 replies
FFilament
Created by Barbaracrlp on 5/30/2024 in #❓┊help
widgetTable query
the pagination is also doing some limiting internally
6 replies
FFilament
Created by Barbaracrlp on 5/30/2024 in #❓┊help
widgetTable query
if you set the pagination to false it wil work
->paginated(false);
->paginated(false);
6 replies
FFilament
Created by nyannss on 5/30/2024 in #❓┊help
Get Relation Fieldset State / Set Outside State in Relationship Fieldset
It will work for sure 😉
24 replies
FFilament
Created by nyannss on 5/30/2024 in #❓┊help
Get Relation Fieldset State / Set Outside State in Relationship Fieldset
you have to go one level up to target the slug input
24 replies
FFilament
Created by nyannss on 5/30/2024 in #❓┊help
Get Relation Fieldset State / Set Outside State in Relationship Fieldset
this is because of the relationship user
24 replies
FFilament
Created by nyannss on 5/30/2024 in #❓┊help
Get Relation Fieldset State / Set Outside State in Relationship Fieldset
you should use
$set('../slug', Str::slug($state))
$set('../slug', Str::slug($state))
24 replies