How to change input form when select row in relation manager?

I want to get amount column and fill into form. Please help me!
8 Replies
LeandroFerreira
not sure if you can access $livewire->ownerRecord on bulk actions.. what code did you try?
vitti🦸🌘
vitti🦸🌘OP2y ago
I just edit on Edit{ResourceName}.php bro and I was stucked 😄
Patrick Boivin
Yeah, this is a bit deep... I think you'll need to: - add a bulk action in the relation manager - in the bulk action, get the data you need from the selected records - emit the data with a Livewire event - receive the data in the page and write it to $this->data['my_field']
vitti🦸🌘
vitti🦸🌘OP2y ago
@Leandro Ferreira @pboivin do you know how to listen checkbox is selected from Table $table?
LeandroFerreira
sorry, I didn't get the idea.. what does it mean?
vitti🦸🌘
vitti🦸🌘OP2y ago
forget it bro, I found. do you know how to prevent/allow check in table rows?
vitti🦸🌘
vitti🦸🌘OP2y ago
many thanks

Did you find this page helpful?