@if ($withLabel)
{{ $title }} {!! $required ? "
*
" : "" !!}
@endif
class(["form-control", "bs-tooltip","search-select" => $withSearch])}} {{ $multiple ? "multiple" : "" }} title="{{ $tooltip }}" name="{{ $name }}" {{ ($required && !$acceptNullValues) ? "required": "" }} id="{{ $id }}" @if ((!$required && !$multiple) || $acceptNullValues) data-placeholder="null" @endif @if ($withNotExists) data-with-not-exists="1" @endif @if ($withAll) data-with-all="1" @endif>
@lang("global.click_to_choose")
{{ $slot }} @if ($withNotExists)
@lang("global.not_exists")
@endif @if ($withAll)
@lang("global.all")
@endif @foreach (($dataArray) as $data)
{{ $nameFn($data) }}
@endforeach
@if ($help)
{{ $help }}
@endif