Sujay Barma
Sujay Barma
FFilament
Created by Sujay Barma on 8/31/2024 in #❓┊help
Show multiple column data in a single table column.
Ok So I have to use attribute name. Thanks @oxodesign and @awcodes for the hint.
7 replies
FFilament
Created by Sujay Barma on 8/31/2024 in #❓┊help
Show multiple column data in a single table column.
no
7 replies
FFilament
Created by pawan_24410 on 9/13/2023 in #❓┊help
How to Show Multiple column data in one set through BelongToSelect like KM/M/1000
I am trying to show 3 columns data in single Table column. But it show only blank.
Tables\Columns\TextColumn::make('properties')->label('Properties')
->formatStateUsing(function($record){
return "Length: {$record->length} \n Frames: {$record->frames} \n Size: {$record->size}M";
})->wrap(),
Tables\Columns\TextColumn::make('properties')->label('Properties')
->formatStateUsing(function($record){
return "Length: {$record->length} \n Frames: {$record->frames} \n Size: {$record->size}M";
})->wrap(),
Please suggest.
3 replies
FFilament
Created by Sujay Barma on 8/26/2024 in #❓┊help
How to trigger a click event on 'next' button click in Wizard Step form.
ok
6 replies
FFilament
Created by Sujay Barma on 8/26/2024 in #❓┊help
How to trigger a click event on 'next' button click in Wizard Step form.
Thank you 🙏 now I am using this
->nextAction(
fn (Forms\Components\Actions\Action $action) => $action->label('Next step'),
)
->nextAction(
fn (Forms\Components\Actions\Action $action) => $action->label('Next step'),
)
could you please guide me on how a click event here.
6 replies
FFilament
Created by Sujay Barma on 8/13/2024 in #❓┊help
How to get file size after file upload?
FileUpload::make('download_url')
->disk('public')
->directory('videos')
->label('Video File')
->afterStateUpdated(function ($state, callable $set) {
$fileSize = $state->getSize() / (1024 * 1024); // Size in KB
$set('size', number_format($fileSize, 2));
}),
TextInput::make('size')->readonly()
FileUpload::make('download_url')
->disk('public')
->directory('videos')
->label('Video File')
->afterStateUpdated(function ($state, callable $set) {
$fileSize = $state->getSize() / (1024 * 1024); // Size in KB
$set('size', number_format($fileSize, 2));
}),
TextInput::make('size')->readonly()
Code Snippet
9 replies
FFilament
Created by Sujay Barma on 8/22/2024 in #❓┊help
Can we have 2 level Relation Manager
Thank you. Do you have any open source code example?
7 replies
FFilament
Created by Sujay Barma on 8/18/2024 in #❓┊help
Popup Model With Multi-Step Form
Thank you
5 replies
FFilament
Created by Sujay Barma on 8/13/2024 in #❓┊help
How to get file size after file upload?
Thank you 🙏
9 replies
FFilament
Created by .Sifat Kazi on 1/26/2024 in #❓┊help
The files.0 field must not be greater than 12288 kilobytes. (Forms\Components\FileUpload)
Thank you 🙏
32 replies
FFilament
Created by .Sifat Kazi on 1/26/2024 in #❓┊help
The files.0 field must not be greater than 12288 kilobytes. (Forms\Components\FileUpload)
Hello @Matthew , I am new to filament. Can you please help where can I find this livewire config file? inside vendor?
32 replies