Sandeep
Sandeep
Explore posts from servers
FFilament
Created by Alnuaimi on 3/25/2024 in #❓┊help
Why not add role shiled for dashborad page
No description
23 replies
FFilament
Created by Alnuaimi on 3/25/2024 in #❓┊help
Why not add role shiled for dashborad page
No description
23 replies
FFilament
Created by IndomieRendang on 10/21/2023 in #❓┊help
Different bulk actions for each table tab?
Please check the above response, may it will help you
7 replies
FFilament
Created by IndomieRendang on 10/21/2023 in #❓┊help
Different bulk actions for each table tab?
No description
7 replies
FFilament
Created by IndomieRendang on 10/21/2023 in #❓┊help
Different bulk actions for each table tab?
No description
7 replies
FFilament
Created by IndomieRendang on 10/21/2023 in #❓┊help
Different bulk actions for each table tab?
No description
7 replies
FFilament
Created by IndomieRendang on 10/21/2023 in #❓┊help
Different bulk actions for each table tab?
You can try like this:
Tables\Actions\BulkAction::make('bulk_archive')
->label('Archive')
->visible(fn ($livewire): bool => $livewire->activeTab !== 'archived' && $livewire->activeTab === 'new' ))
Tables\Actions\BulkAction::make('bulk_archive')
->label('Archive')
->visible(fn ($livewire): bool => $livewire->activeTab !== 'archived' && $livewire->activeTab === 'new' ))
7 replies
FFilament
Created by Sandeep on 2/27/2024 in #❓┊help
How can I make "Shift select multiple checkboxes" to the filament v3 table?
Thank you for your response, I will check
6 replies
FFilament
Created by Sourabh on 4/4/2024 in #❓┊help
Failed to import csv
I have fixed my issue due to this reason. Might be it will useful to you
27 replies
FFilament
Created by Sourabh on 4/4/2024 in #❓┊help
Failed to import csv
Try with this command after clear logs sudo chmod 777 -R storage/framework/cache/data/
27 replies
FFilament
Created by Sourabh on 4/4/2024 in #❓┊help
Failed to import csv
Hey @Sourabh Please check your log, may you got cache/ folder permission issue
27 replies
FFilament
Created by vanhellsing101 on 4/4/2024 in #❓┊help
Import Action: How to remove the example download link or add multiple rows to the example CSV?
Using this you can remove the download link
8 replies
FFilament
Created by vanhellsing101 on 4/4/2024 in #❓┊help
Import Action: How to remove the example download link or add multiple rows to the example CSV?
ImportAction::make() ->modalDescription(null)
8 replies
FFilament
Created by Sourabh on 4/4/2024 in #❓┊help
Failed to import csv
Hey @Sourabh I am getting the same issue on server
27 replies
FFilament
Created by Sandeep on 2/1/2024 in #❓┊help
How to Hide/Show Bulk Action based on active Tab?
Yes, Its working fine. Thanks a lot sir ❤️
8 replies
FFilament
Created by Sandeep on 2/1/2024 in #❓┊help
How to Hide/Show Bulk Action based on active Tab?
Let me try this
8 replies
FFilament
Created by Sandeep on 2/1/2024 in #❓┊help
How to Hide/Show Bulk Action based on active Tab?
For visible we can do like this:
->visible(!getQueryStringParamValue('activeTab') || getQueryStringParamValue('activeTab') !== "is_archived")
->visible(!getQueryStringParamValue('activeTab') || getQueryStringParamValue('activeTab') !== "is_archived")
8 replies
FFilament
Created by Sandeep on 2/1/2024 in #❓┊help
How to Hide/Show Bulk Action based on active Tab?
May it will help to anyone
8 replies
FFilament
Created by Sandeep on 2/1/2024 in #❓┊help
How to Hide/Show Bulk Action based on active Tab?
As of now I have managing other way as below instead of visible() Helper:
if (!function_exists('getQueryStringParamValue')) {
function getQueryStringParamValue($param = null)
{
if (!$param)
return null;

// Get the referer from the server array
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';

// Parse the URL to get the query string
$queryString = parse_url($referer, PHP_URL_QUERY);

// Initialize an array to store parameters
$paramsArray = [];

// Parse the query string to get individual parameters
parse_str($queryString, $paramsArray);

// Get the value of the parameter
return isset($paramsArray[$param]) ? $paramsArray[$param] : null;

}
}
if (!function_exists('getQueryStringParamValue')) {
function getQueryStringParamValue($param = null)
{
if (!$param)
return null;

// Get the referer from the server array
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';

// Parse the URL to get the query string
$queryString = parse_url($referer, PHP_URL_QUERY);

// Initialize an array to store parameters
$paramsArray = [];

// Parse the query string to get individual parameters
parse_str($queryString, $paramsArray);

// Get the value of the parameter
return isset($paramsArray[$param]) ? $paramsArray[$param] : null;

}
}
In Action of Bulk Action:
->action(function (Collection $records, \Mavinoo\Batch\Batch $batch): void {

if (getQueryStringParamValue('activeTab') && getQueryStringParamValue('activeTab') === "is_archived") {
Notification::make('check_archived')
->title('Selected records are already archived.')
->warning()
->send();
return;
}
);
In Action of Bulk Action:
->action(function (Collection $records, \Mavinoo\Batch\Batch $batch): void {

if (getQueryStringParamValue('activeTab') && getQueryStringParamValue('activeTab') === "is_archived") {
Notification::make('check_archived')
->title('Selected records are already archived.')
->warning()
->send();
return;
}
);
8 replies
FFilament
Created by Sourabh on 2/1/2024 in #❓┊help
Filament V3 is running slowly on windows 10/11
I have do as per above still getting loading in windows
6 replies