Darshan_Bhandary
Darshan_Bhandary
FFilament
Created by maxbb on 8/30/2024 in #❓┊help
Import action column mapping layout
this is what i understood as per your doubt
8 replies
FFilament
Created by maxbb on 8/30/2024 in #❓┊help
Import action column mapping layout
8 replies
FFilament
Created by maxbb on 8/30/2024 in #❓┊help
Import action column mapping layout
->actions([ ImportAction::make('import') ->form([ Grid::make(2)->schema([ .... your fields... ]), ]), ]); so a simple snippet
8 replies
FFilament
Created by maxbb on 8/30/2024 in #❓┊help
Import action column mapping layout
so you can use ImportAction::class and define your grid layout
8 replies
FFilament
Created by maxbb on 8/30/2024 in #❓┊help
Import action column mapping layout
yes
8 replies
FFilament
Created by Darshan_Bhandary on 8/30/2024 in #❓┊help
I have a Problem in File upload in chunks
No description
5 replies
FFilament
Created by Darshan_Bhandary on 8/30/2024 in #❓┊help
I have a Problem in File upload in chunks
This is my custom component chunked-vedio-upload.blade.php <div id="resumable-upload-container"> <button id="browseButton">Select File</button> <div id="fileProgress" style="margin-top: 10px;"></div> </div> <script src="https://cdn.jsdelivr.net/npm/[email protected]/resumable.js"></script> <script> document.addEventListener('DOMContentLoaded', function () { let r = new Resumable({ target: '{{ route("chunked.upload") }}', query: { _token: '{{ csrf_token() }}' }, // CSRF token chunkSize: 1 * 1024 * 1024, // 1MB chunks simultaneousUploads: 3, testChunks: false, throttleProgressCallbacks: 1, }); r.assignBrowse(document.getElementById('browseButton')); r.on('fileAdded', function (file) { r.upload(); }); r.on('fileProgress', function (file) { let progress = Math.floor(file.progress() * 100); document.getElementById('fileProgress').innerText = `Uploading: ${progress}%`; }); r.on('fileSuccess', function (file, message) { document.getElementById('fileProgress').innerText = 'Upload complete!'; }); r.on('fileError', function (file, message) { document.getElementById('fileProgress').innerText = 'Upload failed!'; }); }); </script> my filament resource its present in my relationship manager form. Forms\Components\Field::make('link') ->view('components.chunked-video-upload')->label('Video') ->required(),
5 replies
FFilament
Created by Darshan_Bhandary on 8/30/2024 in #❓┊help
I have a Problem in File upload in chunks
@Leandro Ferreira
5 replies