{{-- This doesn't seem to fix it, neither does a div? --}}
{{ Form::select('fieldset_id', Helper::customFieldsetList(), old('fieldset_id', $fieldset_id), array('class'=>'select2 js-fieldset-field livewire-select2', 'style'=>'width:350px', 'aria-label'=>'custom_fieldset', 'data-livewire-component' => $_instance->id)) }} {!! $errors->first('custom_fieldset', '') !!}
@if ($this->add_default_values ) {{-- 'if the checkbox is enabled *AND* there are more than 0 fields in the fieldsset' --}}
@if ($fields) @foreach ($fields as $field)
@if ($field->format == "DATE")
@elseif ($field->element == "text") @elseif($field->element == "textarea")
@elseif($field->element == "listbox") @elseif($field->element == "radio") @foreach(explode("\r\n", $field->field_values) as $field_value) defaultValue($model_id) == $field_value ? 'checked="checked"': '' }} />{{ $field_value }}
@endforeach @elseif($field->element == "checkbox") @foreach(explode("\r\n", $field->field_values) as $field_value) defaultValue($model_id))) ? 'checked="checked"': '' }} /> {{ $field_value }}
@endforeach @else Unknown field element: {{ $field->element }} @endif
@endforeach @endif
@endif