In Controller
return View::make('some_view')->with('my_array', $my_array);
In View
{{ Form::select('name', $my_array, null, array('class' => 'form-control')) }}
Is that what you're looking for?
I don't know really :(. I gave up the way described above (It was a tree based select form to select a dynamic subgroup).
Thank you..
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community