wire-elements / modal

Livewire component that provides you with a modal that supports multiple child modals while maintaining state.
MIT License
1.09k stars 129 forks source link

Opening Modal Results in Array to string conversion error #382

Closed GBry closed 8 months ago

GBry commented 8 months ago

I use WireUI Buttons like so:

The context is that the error happens in index.php $response = $kernel->handle( $request = Request::capture() )->send();

Even something as simple as <x-button onclick="Livewire.dispatch('openModal', { component: 'modals.stock-spareparts-transactions-modal' })" label="Add Transaction"/> Returns the same error. Why?

Livewire 3.0.10, Modal 2.0.7

GBry commented 8 months ago

Something to do with something. Recloned my repo and did npm install and composer install and all works.