Cant get multiple select boxes to work.

34 views
Skip to first unread message

Brian Patterson

unread,
Jun 18, 2017, 8:20:38 AM6/18/17
to select2
Here is my code to try to get select boxes with labels to work.  Unfortunately, it show me a list of all the options.

Enter code here...{{ Form::label('schools', 'Schools:') }}
     <select class="form-control select" name="tags[]" multiple="multiple">
         @foreach($schools as $school)
       <option value='{{ $school->id }}'>{{ $school->name }}</option>
         @endforeach
              </select>

How I have downloaded locally and cdn it.  Just will not work.
Reply all
Reply to author
Forward
0 new messages