{{-- select_and_order --}} @php $values = old_empty_or_null($field['name'], []) ?? $field['value'] ?? $field['default'] ?? []; $dragClass = str_replace('[', '-', str_replace(']', '-', $field['name'])) . '_connectedSortable'; $values = (array)$values; @endphp @include('crud::fields.inc.wrapper_start') @include('crud::fields.inc.translatable_icon')
{{-- The results will be stored here --}}
{{-- HINT --}} @if (isset($field['hint']))

{!! $field['hint'] !!}

@endif
@include('crud::fields.inc.wrapper_end') {{-- ########################################## --}} {{-- Extra CSS and JS for this particular field --}} {{-- If a field type is shown multiple times on a form, the CSS and JS will only be loaded once --}} {{-- FIELD CSS - will be loaded in the after_styles section --}} @push('crud_fields_styles') @loadOnce('select_and_order_field_style') @endLoadOnce @endpush {{-- FIELD JS - will be loaded in the after_scripts section --}} @push('crud_fields_scripts') @loadOnce('packages/jquery-ui-dist/jquery-ui.min.js') @loadOnce('packages/jquery-ui-touch-punch/jquery.ui.touch-punch.min.js') @loadOnce('bpFieldInitSelectAndOrderElement') @endLoadOnce @endpush {{-- End of Extra CSS and JS --}} {{-- ########################################## --}}