Kiran Timsina
Filters in page to change the widgets
I have been trying to do this in my ListResource page, but nothing seems to work no matter what I try from the documentation:
https://filamentphp.com/docs/3.x/panels/dashboard#filtering-widget-data
This simply does not work in ListResource .
3 replies
A way to make lazy search ?
Never mind, making it reactive() and lazy() worked for me. Though ideally i would like to implement reactiveOnReturn() or something like this. I don't have so much idea on how to do it, but seems like it could be good.
4 replies
Resize Images after Upload
Done! I won't have to use spatie's package now. This is much faster (since image is loaded along with the model = much faster query for ecommerce application like mine) and offer more customization than it. Thanks a tons everyone!
27 replies
Resize Images after Upload
thought about this too. But then again there is no consistency with the field names across the models. There are about 200 models and about 50 of them have images field. I am thinking about defining what fields are images in each model so the observer can watch for changes in those fields only.
27 replies
Resize Images after Upload
just checked it, it's totally overkill. All i need to do is figure out how dispatchEvent() works with filament fields.
ImageUpload::make('image')->dispatchEvent()
I see there's such option. have you used it?
27 replies
Resize Images after Upload
This is my trait to upload image. It works like I expect it to.
I need to figure out a way to trigger an event when upload is successfull so that i can call the ResizeImage Job that I've made to resize the images passed to it.
27 replies