RawaN
RawaN
FFilament
Created by RawaN on 10/21/2024 in #❓┊help
Issue: Filament Shield
No description
3 replies
FFilament
Created by RawaN on 10/12/2024 in #❓┊help
Is possible have an input can be select and text input in same time ?
Thanks @PovilasKorop for your response, I think that is what I want
5 replies
FFilament
Created by Rasasak on 10/27/2023 in #❓┊help
Filepond Style Help
I think you can set the
->panelLayout('grid')
->panelLayout('grid')
for the file upload to set it as gird
5 replies
FFilament
Created by RawaN on 9/23/2024 in #❓┊help
direction of the table filter
Thanks man but if you look the filter have a form
Filter::make('date')
->label(__('date'))
->indicator(__('date'))
->form([
DatePicker::make('created_from')
->label(__('filters.created_from')),
DatePicker::make('created_until')
->label(__('filters.created_until')),
])
Filter::make('date')
->label(__('date'))
->indicator(__('date'))
->form([
DatePicker::make('created_from')
->label(__('filters.created_from')),
DatePicker::make('created_until')
->label(__('filters.created_until')),
])
I wanna set
>extraAttributes([
'class' => ['flex gap-2']])
>extraAttributes([
'class' => ['flex gap-2']])
kinda something for it to next each other
6 replies
FFilament
Created by RawaN on 9/19/2024 in #❓┊help
Modal Action not work
up
5 replies
FFilament
Created by RawaN on 9/19/2024 in #❓┊help
Modal Action not work
This is the function
public function updatePaidAndPayback(Get $get, Set $set, int $value): void
{
$totalPrice = (int) $get('total_price');
$paidPrice = (int) $get('paid_price') + $value;

if ($paidPrice > $totalPrice) {
Notification::make()
->title('Error')
->body('Paid price cannot be greater than total price.')
->danger()
->send();
return;
}

$paybackPrice = max(0, $totalPrice - $paidPrice);

$set('paid_price', $paidPrice);
$set('payback_price', number_format($paybackPrice));
}
public function updatePaidAndPayback(Get $get, Set $set, int $value): void
{
$totalPrice = (int) $get('total_price');
$paidPrice = (int) $get('paid_price') + $value;

if ($paidPrice > $totalPrice) {
Notification::make()
->title('Error')
->body('Paid price cannot be greater than total price.')
->danger()
->send();
return;
}

$paybackPrice = max(0, $totalPrice - $paidPrice);

$set('paid_price', $paidPrice);
$set('payback_price', number_format($paybackPrice));
}
But i think the main reason is the actions not work
5 replies
FFilament
Created by RawaN on 8/29/2024 in #❓┊help
How to use filament component in front-end of website?
yeah, absolutely that is a good point
7 replies
FFilament
Created by RawaN on 8/29/2024 in #❓┊help
How to use filament component in front-end of website?
I will do this, thanks mate
7 replies
FFilament
Created by RawaN on 8/18/2024 in #❓┊help
how to set the widget to full for each widget in custom Dashbaord
I just added that but look same ,not worked.
5 replies
FFilament
Created by RawaN on 8/18/2024 in #❓┊help
how to set the widget to full for each widget in custom Dashbaord
No description
5 replies
FFilament
Created by RawaN on 8/16/2024 in #❓┊help
Rotate Image Issue in Mobile
You're right, that's likely the issue. Mobile phones often store orientation information in the image metadata without actually rotating the image file itself. This can lead to the problem I'm experiencing, where the image appears correct on the phone but rotates when uploaded or viewed elsewhere. Is there a recommended way to handle this in Filament? Should I be processing the images on the server to read and apply the orientation metadata, or is there a built-in solution in Filament to address this common mobile upload issue?
4 replies