Want to access all of our courses? (36 h 00 min)
You also get:
Already a member? Login here
what if the City dropdown is a multiple select, how to set the collect in the mount method?
This is practically the same. Instead of a string/int your $value will be an array. So for that, you need to use whereIn() instead of where() - then you should be good to go
whereIn()
where()
Tell us what you like or what we can improve
Feel free to share anything you like or dislike about this page or the platform in general.
Your feedback has been received. We truly appreciate you taking the time to help us improve.
what if the City dropdown is a multiple select, how to set the collect in the mount method?
This is practically the same. Instead of a string/int your $value will be an array. So for that, you need to use
whereIn()instead ofwhere()- then you should be good to go