ssmusoke
ssmusoke
FFilament
Created by ssmusoke on 11/6/2023 in #❓┊help
Custom JS for Chart Widgets to build custom tooltip
I would like to find out any best practices for adding custom JS to the chart widgets In my case I have some data from the model which I would like to show in the tooltip, I am wondering how to integrate the Alpine JS or livewire directives to build the custom toolitp Thank you in advance
5 replies
FFilament
Created by ssmusoke on 9/24/2023 in #❓┊help
Applying a Custom Tooltip to a Line Graph Widget
No description
1 replies
FFilament
Created by ssmusoke on 9/24/2023 in #❓┊help
Changing the Chart.js version from 3.9 to a newer 4.x version for Widgets
I have checked the loaded JS files and I see that the Chart.js version used is 3.9 yet the latest is 4.4.x Is there any reason for using an older library? How can on eupgrade to the newer versions Thank you in advance
1 replies
FFilament
Created by ssmusoke on 8/4/2023 in #❓┊help
Filter Chart from data in Livewire Component
I have embedded a Filament V2 chart in a blade page for another LiveWire component This component has select fields which I use as filters, how can I cascade the selections from the parent livewire component to the chart widget that I have embedded Thank you in advance
2 replies
FFilament
Created by ssmusoke on 8/4/2023 in #❓┊help
Changing Location and Look of Wizard Steps from the top to a left side bar
How can one customize the location and look of the wizard steps
5 replies
FFilament
Created by ssmusoke on 8/4/2023 in #❓┊help
Saving Wizard Form Contents at Each Step
I am looking to automatically save the entries in a wizard step each time the next one is called, is there anything special that I need to take into account? Do I need to manually take care of loading the contents from the model to continue later Thank you in advance
8 replies
FFilament
Created by ssmusoke on 5/28/2023 in #❓┊help
Format integers as dollars instead of cents
Hello I have some integers saved in a column, however when I format them as USD it assumes that these are cents For example 12500 in the database is formatted as $125 instead of $12,500 any parameter I can pass to fix this Thank you in advance
2 replies
FFilament
Created by ssmusoke on 5/28/2023 in #❓┊help
Undefined variable $allRecordsCount on production but not locally
<?php unset($componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <span class="<?php echo \Illuminate\Support\Arr::toCssClasses(['dark:text-white' => config('tables.dark_mode')]) ?>" x-text="window.pluralize(<?php echo \Illuminate\Support\Js::from(('tables::table.selection_indicator.selected_count'))->toHtml() ?>, selectedRecords.length, { count: selectedRecords.length })"></span> <span id="<?php echo e($this->id); ?>.table.selection.indicator.record-count.<?php echo e($allSelectableRecordsCount); ?>" x-show="<?php echo e($allSelectableRecordsCount); ?> !== selectedRecords.length"> <button x-on:click="selectAllRecords" class="text-sm font-medium text-primary-600"> <?php echo e(trans_choice('tables::table.selection_indicator.buttons.select_all.label', $allSelectableRecordsCount)); ?>. </button> </span> The strange thing is that it works on my computer (doesn't it always), and other tables on the server for other resources I have run php artisan optimize, php artisan filament upgrade and also manually cleared the storage/app/framework folders
5 replies