Can I get the value of a select and run a method? Not ubmitting a form.
This doen't even log after a change in the select
No error no logging
10 Replies
$state is the value of the form field
You would expect the logger in laravel.log and I don't get anything. As if the state is not Updating
instead of logger use dd($state)
that select is in a form?
Funny, I just tried that, no dd().
no javascript errors on browser console?
THis is in a
class EditWindow extends Component implements HasForms, HasActions
so oes that make difference?if the form is configured correctly I dont think theres a problem.
Javascrip error
So it is broken before selection. I have to populate the status first.
I made a local public $status for the status and now I see it in dd()
Nice