ModalContent inputs pass to action()
BulkAction use modalContent custom view blade with inputs - how to pass input values to action after confirm modalDialog?
Solution:Jump to solution
add
public $notes = [];
to your ListPage
inject $livewire
in the action:
```php...9 Replies
why not using
->form()
?
I've tried wire:model etc. but dont work
Solution
add
public $notes = [];
to your ListPage
inject $livewire
in the action:
Can I use it in Resource file?
no, because your ListPage is the livewire component. What is the problem to add this to your ListPage?
Thank you it works!
Only one thing - the values dont be filled in this step:
livewire and value dont love each other 🙂
use
mountUsing
to fill $notes
Thank you @Leandro Ferreira you saved my day. Everíthing working now.