TimeglitchD
assertTableActionDataSet() on a form with FileUpload field
I got this form:
and this test:
Now, obviously, the part is a string, while the form field is whatever object type FileUpload takes. I've tried to put an UploadedFile fake in there, but to no avail.
Does anyone know how I'd test the FileUpload field?
2 replies
Alpine plugins and Filament scripts problem
I have an application where I am using a few of the Filament packages. I am also using custom Alpine packages in this app.
Here's the problem: Filament asks me to replace @livewireScripts with @/filamentScripts, but Livewire asks me to change @livewireScripts into @livewireScriptConfig to make the custom Alpine plugins work... Using both means running two instances 🥲
How do I fix this?
4 replies
filamentphp/plugin-skeleton workflow test jobs failing (after fixing some errors)
Hi! I'm new to plugin development. I used the template and after fixing some things (like removing the unused spatie services and changing the non-existent Icon class) the test workflow on Github is still mostly failing.
The only succesful workflow job is P8.2 - L10.* - prefer-stable - ubuntu-latest. The error I seem to be getting after the command vendor/bin/pest --ci:
How do I fix this one and get all jobs working?
6 replies
Using Vite and HMR without extending theme
I want to use Vite for my Filament development. I extended the basic theme and included it as a viteTheme on my panel and it's working perfectly.
I'd like to know if it's possible to use Vite and HMR in Vite without extending the theme, as it requires some extra NPM packages that otherwise would already be included in the Filament package itself. I mostly just want to be able to reload my browser page as soon as I save a php or blade file 🙈
5 replies