Do you mean on form submit or on the select of the drop down ?
If you want to run a method on drop down select you may have to use JavaScript to make a call to an endpoint and run your method in that endpoint and return the data you need to JavaScript . If it’s the value on form submit make a post route pointing at your controller method
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community