APG
Using $get / $set with a Livewire::make() form component
Thanks @BKF Dev - I really apprecaite your help. I tried that but I run in to this:
The table where I'm trying to attach this action is from within a widget on my panel dashboard (
ActiveCasesTable
)
At the end of the day, I'm trying to create a modal with a select field (for an amount) and then show associated fees in the modal before the user clicks save. Maybe I'm going about this all wrong. I've tried using custom modal content (and custom modal footer content) with alpine + a select field and I'm able to obviously make that reactive and update fees when the select is changed, but I couldn't find out how to pass that as the $data when the modal was submitted..
I also tried to do everything in a Livewire::make() component - but again, I don't have anything in the ->action() method .. $data is always an empty array.7 replies