Adysone
Livewire component grid in template does not render as grid col, unless use col-start-*
I installed npm packages and I ran npm run build, but nothing changed when I did this. But I found this thanks to your message, and I went with a custom theme, it seems to be good now!
17 replies
Livewire component grid in template does not render as grid col, unless use col-start-*
I set up everything according to the docs of the Form Builder because I thought I could be a solution. But it's clearly not.
I don't need custom theme, I just need to use grid-cols-2, but it's not in the app.css and I can't understand why it's not.
17 replies
Livewire component grid in template does not render as grid col, unless use col-start-*
I don't have a tailwind config because I use the panel builder, and as far as I understand, It's not necessary to install Tailwind. But I'll install it and check in the config file the paths (there was not the path of my livewire component when I tried). Thank you
17 replies
Test Livewire assertDispatched and assertSee after event dispatched
I answer to myself, I found a topic on Laracast for the second problem I have : https://laracasts.com/discuss/channels/livewire/livewire-testing-nested-components
For the first issue, I don't use the good syntax, which must be
->assertDispatched('updatedSelectedLicenses', selectedLicenses: [$license->id])
4 replies
In a test, should fillForm() be firing afterStateUpdated()?
I'm using PHPUnit and it works with that:
I just read this syntax in the docs of Livewire, so that's good for me. The other syntax doesn't work for me. But that's ok!
Maybe it's because I have an array as value
12 replies