Skip to main content

The Full Lesson is Only for Premium Members

Want to access all of our courses? (36 h 00 min)

You also get:

61 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

D.H SIMON avatar

what if the City dropdown is a multiple select, how to set the collect in the mount method?

Modestas avatar

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