Replies: 5 comments 9 replies
-
I wonder, why isn't this developed yet, |
Beta Was this translation helpful? Give feedback.
-
HI @crgAdrian Is this customization available or in some plugin? |
Beta Was this translation helpful? Give feedback.
-
up for this feature |
Beta Was this translation helpful? Give feedback.
-
Anyone looking at this issue, you can just call |
Beta Was this translation helpful? Give feedback.
-
TakePicture Component for Filament FormsA custom Filament 3 form component that allows users to take photos directly from their device camera and upload them to your application's storage. Features
Installation
UsageAdd the component to your Filament form: use App\Filament\Forms\Components\TakePicture;
// ...
TakePicture::make('camera_test')
->label('Camera Test')
->disk('public')
->directory('uploads/services/payment_receipts_proof')
->visibility('public')
->useModal(true)
->showCameraSelector(true)
->aspect('16:9')
->imageQuality(80)
->shouldDeleteOnEdit(false) Configuration Options
Requirements
How it Works
Screenshotsas of 041525 |
Beta Was this translation helpful? Give feedback.
-
Feature Description
I propose the addition of a new option captureMethod to the FileUpload component within FilePond. This feature would allow developers to specify how the file input should capture the data, particularly useful for mobile devices where the user can choose to take a picture or video directly or select existing files. The primary aim is to enhance user experience and provide flexibility for developers to tailor file input behavior according to the application's needs.
Forms\Components\FileUpload::make('image')->image()->captureMethod(['camera'])->required(),
Beta Was this translation helpful? Give feedback.
All reactions