Here is my select option
I was parsing JSON
data, and was faced with repopulating the multi-select as an array
, and only wanted one table, and wasn't using keys
since this array
was being passed back from the show
method in the controller
, so had to supply the values directly on the template, in my case as a crud resource on the edit.blade.php
template (also on the create
template).
This worked for me, and was the cleanest I could get it on the view.