Vp
Vp
FFilament
Created by UsmanFESF on 7/2/2024 in #❓┊help
Insert custom code into filament base Header and Footer
4 replies
FFilament
Created by MikePageDev on 7/2/2024 in #❓┊help
Adding percentages to pie chart
Do you have console error? For me my test stop because of console error Alpine Expression Error: Cannot read properties of null (reading 'x')
12 replies
FFilament
Created by MikePageDev on 7/2/2024 in #❓┊help
Adding percentages to pie chart
will try to replicate when I have time, now no idea anymore
12 replies
FFilament
Created by MikePageDev on 7/2/2024 in #❓┊help
Adding percentages to pie chart
By reading more on docs, I think you need to do like this https://filamentphp.com/docs/3.x/widgets/charts#using-custom-chartjs-plugins
12 replies
FFilament
Created by MikePageDev on 7/2/2024 in #❓┊help
Adding percentages to pie chart
https://stackoverflow.com/a/72882864/8826120 Not tested, but you can put inside options.plugins.datalabels.formatters.** like this https://filamentphp.com/docs/3.x/widgets/charts#setting-chart-configuration-options
12 replies
FFilament
Created by TranceCode on 6/26/2024 in #❓┊help
APP_ENV=Production vs APP_ENV=local
the return type is bool so you can do whatever logic you want or none at all. All that matters is whether it return true or false
7 replies
FFilament
Created by torgodly on 6/25/2024 in #❓┊help
help fix Select filter UI
I've submit an issue before (https://github.com/filamentphp/filament/issues/9388) but it seems no solution atm
8 replies
FFilament
Created by igmltd on 6/15/2024 in #❓┊help
Add form to list view
No description
7 replies
FFilament
Created by igmltd on 6/15/2024 in #❓┊help
Add form to list view
Hi, this is the video about link I posted (https://www.youtube.com/watch?v=oFjWFOuw6sw) I didn't try yet but you may get something there
7 replies
FFilament
Created by sezohussien on 6/25/2024 in #❓┊help
When ever I select input or type something its refresh the page and redirect me back to /dashbaord
ohh.. so what's the problem?
3 replies
FFilament
Created by Ethan Creft on 6/22/2024 in #❓┊help
How can I change the Label of Permission (Shield)
iirc the permission label uses resource label, you can try changing yours or more info ask here #bezhansalleh-shield
3 replies
FFilament
Created by atabegruslan on 6/22/2024 in #❓┊help
How dependent is Filament on Livewire?
No description
5 replies
FFilament
Created by atabegruslan on 6/22/2024 in #❓┊help
How dependent is Filament on Livewire?
Panel, Table & Form uses Livewire under the hood, check here https://github.com/filamentphp/filament/blob/3.x/packages/support/composer.json#L18
5 replies
FFilament
Created by Pekempy on 5/9/2024 in #❓┊help
Prevent pagination page numbers overflowing
do composer update this has been fixed iirc
5 replies
FFilament
Created by deobfs on 6/21/2024 in #❓┊help
Refresh repeater values when value outside repeater changes
4 replies
FFilament
Created by Mikail on 6/20/2024 in #❓┊help
Tags input
Sorry I don't know how to store each tags in their own column, but if I use this separator, mine is storing as comma separated string not array because my column type is "text"
7 replies
FFilament
Created by toeknee on 6/20/2024 in #❓┊help
RelationshipManager Table Ordering
Oh, now i remember that it accept closure as well.. then may achieve using like this
7 replies
FFilament
Created by JanV on 6/20/2024 in #❓┊help
Revert ToggleColumn State after failed Validation
Yes sure, and please try to use throw new Halt() to see whether it prevents or not cause my project is a little old, I don't want to dig any deeper.. 😆
9 replies
FFilament
Created by JanV on 6/20/2024 in #❓┊help
Revert ToggleColumn State after failed Validation
This maybe very different from what you try to achieve, but here it goes
Tables\Columns\ToggleColumn::make('recommended')
->beforeStateUpdated(function ($state) {
if ($state && static::recommendCount() >= 15) {
// ... send noti about limit recommended

throw ValidationException::withMessages([]); // this line prevents records updated, you may also use `throw new Halt()`
}
}),
Tables\Columns\ToggleColumn::make('recommended')
->beforeStateUpdated(function ($state) {
if ($state && static::recommendCount() >= 15) {
// ... send noti about limit recommended

throw ValidationException::withMessages([]); // this line prevents records updated, you may also use `throw new Halt()`
}
}),
In my case, if recomCount is 15, then it display noti about limit..
9 replies