dhanar98
dhanar98
FFilament
Created by Matteo De Blasis on 3/15/2024 in #❓┊help
ExportAction problem
https://laraveldaily.com/post/filament-add-custom-action-button-inside-form create a custom action like this and download the multiple excel sheets mattwebsite package is a popular one
8 replies
FFilament
Created by Matteo De Blasis on 3/15/2024 in #❓┊help
ExportAction problem
yes. create the sheets and trigger the exportaction
8 replies
FFilament
Created by Robin on 2/24/2024 in #❓┊help
Export Action
@Archie could you share the solution code here it is useful for other who are searching the answer mark this question as solved
5 replies
FFilament
Created by JJSanders on 2/23/2024 in #❓┊help
Don't submit form on "enter"
protected function mutateFormDataBeforeCreate(array $data): array
{

}
protected function mutateFormDataBeforeCreate(array $data): array
{

}
for this function check the key bindings if the enter button is triggered
17 replies
FFilament
Created by adnn on 2/23/2024 in #❓┊help
How to use shouldDeselectAllRecordsWhenTableFiltered?
@adnn make sure
use Filament\Tables;
use Filament\Tables\Filters\Filter;
use Filament\Tables\Filters\SelectFilter;
use Filament\Tables\Table;
use Filament\Tables;
use Filament\Tables\Filters\Filter;
use Filament\Tables\Filters\SelectFilter;
use Filament\Tables\Table;
this classes are imported in the top of the file I tried it is working fine
5 replies
FFilament
Created by Pan on 2/20/2024 in #❓┊help
Images & Barcode not working when web hosted (Hostinger)
16 replies
FFilament
Created by Pan on 2/20/2024 in #❓┊help
Images & Barcode not working when web hosted (Hostinger)
image related actions imagick and gd extensions are needed.
16 replies
FFilament
Created by Pan on 2/20/2024 in #❓┊help
Images & Barcode not working when web hosted (Hostinger)
check the imagick and gd extensions are installed
16 replies
FFilament
Created by Muhammad Ashraf on 2/20/2024 in #❓┊help
Error during upload
have you checked the maximum number of rows to import via importer class
2 replies
FFilament
Created by dhanar98 on 2/19/2024 in #❓┊help
Based on select option set regex in text input field
Hi @Tieme Thanks now it's working. working code is below :fi:
Forms\Components\TextInput::make('code')
->required()
->regex(fn(Forms\Get $get):string => self::getRegex($get('type'))),
Forms\Components\Select::make('type')
->searchable()
->required()
->live()
->options(self::getBarcodeTypes()),
Forms\Components\TextInput::make('code')
->required()
->regex(fn(Forms\Get $get):string => self::getRegex($get('type'))),
Forms\Components\Select::make('type')
->searchable()
->required()
->live()
->options(self::getBarcodeTypes()),
4 replies
FFilament
Created by Anish on 2/19/2024 in #❓┊help
Delete exported file
write the unlink function for your file
9 replies
FFilament
Created by Anish on 2/19/2024 in #❓┊help
Delete exported file
hi @Anish for the above question my answer is if you are importing the file to store records create a log for the uploaded file e.x table : upload_file id file_name extension created_at,updated_at need column based on your requirement add the foriengn key id for upload_file_id in the table based on the upload file deletion cascade the data this is what i'm doing my application if the imported records make any issues.
9 replies
FFilament
Created by Anish on 2/19/2024 in #❓┊help
Delete exported file
hi @Anish importing a file or exporting a file in application ?
9 replies