aliqasemzadeh / livewire-bootstrap-modal

Dynamic Laravel Livewire Bootstrap modals.
39 stars 14 forks source link

Livewire v3 #9

Closed lifegiro closed 8 months ago

lifegiro commented 1 year ago

Not compatible installing it via composer with Laravel Livewire v3. Are you planning to provide an update?

aliqasemzadeh commented 1 year ago

@lifegiro When v3 released I will make new version for this package.

mozhuilungdsuo commented 11 months ago

@lifegiro u can have a look at a fork of this package https://github.com/mozhuilungdsuo/livewire-bootstrap-modal

aliqasemzadeh commented 11 months ago

@mozhuilungdsuo Could please make a pull request to fix this issue?

mozhuilungdsuo commented 11 months ago

@aliqasemzadeh can u have a look at my pull request?

aliqasemzadeh commented 11 months ago

@mozhuilungdsuo I did merge I will test your package on aliqasemzadeh/bap soon.

ShakerAwad74 commented 11 months ago

@aliqasemzadeh When will be compatible installing it via composer with Laravel Livewire v3 ?

aliqasemzadeh commented 11 months ago

@ShakerAwad74 Please check it now.

aliqasemzadeh commented 11 months ago

@mozhuilungdsuo It looks your version not work too.

mozhuilungdsuo commented 11 months ago

Can u let me know the issues? I'm using this in our projects and my team is using them fine. Provide the errors maybe? Thanks and great work on the original project

aliqasemzadeh commented 11 months ago

https://github.com/aliqasemzadeh/bap In Admin/Index I want to open Admin/Create

@mozhuilungdsuo

mozhuilungdsuo commented 11 months ago

public function openCreate() { $this->dispatch('showModal', ['alias' => 'admin.user.role.create', 'params' => ['name' => 'test']]); } @aliqasemzadeh this is how i did it. I couldnt make it work from the template so im calling a wire:click="openCreate"

kkbnet commented 10 months ago

I can run dispatch in LiveWire 3.0 when using this format (Product id is my parameter):

<button class="btn" wire:click="$dispatch('showModal', { data: {alias:'ProductModal', params: {id: {{$product->id}} }}})">

aliqasemzadeh commented 10 months ago

I can run dispatch in LiveWire 3.0 when using this format (Product id is my parameter):

<button class="btn" wire:click="$dispatch('showModal', { data: {alias:'ProductModal', params: {id: {{$product->id}} }}})">

Just create function and then run it in livewire component.

aliqasemzadeh commented 8 months ago

Now livewire 3.x.x is stable.