I can't figure out how to make Laravel select the right value in the select box. My select box allways shows the default >value instead of the value related to the object I pass to the view.>catherine111 said:
I think you're doing the right thing by passing the third parameter to the select to have the default value chosen. I would check to make sure that the value that is being passed is of the same type as the options values (not labels).
You got it! Thanks a lot. Guess I was very tired when I tried to solve this :-D
Question 2 is solved, has anyone an idea for my first question?
Thanks folks!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community