Matthew
Use HeaderAction to upload file in FileUpload.
Assume I have a fileupload component in a form on my page. By pressing a header action, is it possible to upload that file (to the specified disk)? Generally when you upload something, before you press create, that file is sitting in the livewire-tmp directory, and its only when you press "Create" that the file goes to its proper directory. In this case, we dont have a create action or a model.
4 replies
FileUpload max size validation isnt working
if I upload a file of size > 12MB, it gets rejected for being too large. However,
post_max_size
,memory_limit
,max_upload_size
,upload_max_filesize
in the ini file are all over 128MB, and the validation, still considers 12MB as the limit. Am I missing something?3 replies
Allowed memory size of 134217728 bytes exhausted (tried to allocate 31817560 byte
How can I fix this error? Im using a forked version of filament because I working on a PR. (Since v4 doesnt build yet im testing it on v3)
Everything was working fine until suddenly I got this message. I was playing around with table.js. When this happened I reverted back to HEAD and I still get this error. I cleared laravel cache, views and I even restarted and I still get the error. Does anyone have an Idea?
5 replies
How can I get started with a JS field?
I want to create my own filament field (Slider) which is based on JS nouislider
This is currently an Issue on github for filament 4.1. I want to get a jumpstart on this, and even if it doesnt get merged, at least I learned something new 😅
The problem is I have NO IDEA how to get started with javascript plugins. For starters, I added nouislider in the package.json. Furthermore, I've also create the Slider class, blade and JS file as follows:
packages/forms/src/Components/Slider.php
packages/forms/resources/js/components/slider.js
packages/forms/resources/views/components/slider.blade.php
In the create page, I have the Slider field, but when the page is loaded I get this error:
Alpine component with ID [slider] not found for package [filament/forms].
What am I missing? Can anyone help?22 replies
Modal wont close after you create a laravel Process
I've set to run a job after I submit the Action Modal. That job creates a process. After a job is created, the modal wont close automatically, and I also cant redirect (e.g. I cant visit the dashboard).
How can I fix this?
20 replies