Thanks, very handy! That should be worthily included in the FormBuilder class.
Btw, though common practice, it is not mandatory that a foreign key is an integer, it could indeed be a string, that's not a shame.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community