Closed derricksmith closed 3 years ago
Hi, @derricksmith
Please, if the @livewireUIScripts directive was loaded correctly, you can do so by inspecting the page and it should have a livewire div with something like this: x-data="LivewireUiModal()"
if not by please run composer dump-autoload
I redid your example and the calls are correct.
Please notify me in case of success or error.
Another note, when you inspect the button element does something like this appear?
If yes, can you send me a print?
I see the x-data. The button has the emit but interestingly it is not receiving the classes ('btn btn-primary') I supplied in the component. Screenshots attached.
Hi
I checked here and I really believe that modal at the moment won't work with bootstrap. But in the next versions it may come.
Meanwhile fix the class in the button and paging in version 1.1.2
Unfortunately we have no plans to create a modal component for bootstrap, but this could be possible using the ->emit() method and calling a livewire event for any component.
See method Event listeners
I followed your demo project @ https://github.com/Power-Components/powergrid-demo but cannot use the edit action with a modal popup. The modal does not show. No console error is generated and the network request completes but shows no html. The table otherwise displays correctly and sorting works.
This is the actions method in DatasourceTable.php
This is DatasourceEdit.php component
This is the datasource-edit.blade.php view
This is the main page welcome.blade.php