@if ($this->searchTerm)
@if ($this->results->total() > $maxResults)
{{ __('adminhub::components.brand-search.max_results_exceeded', [
'max' => $maxResults,
'total' => $this->results->total(),
]) }}
@endif
@forelse($this->results as $brand)
$this->existingIds->contains($brand->id),
])>
{{ $brand->name }}
@if (!$this->existingIds->contains($brand->id))
@if (collect($this->selected)->contains($brand->id))
@else
@endif
@else
{{ __('adminhub::components.brand-search.exists_in_collection') }}
@endif
@empty
{{ __('adminhub::components.brand-search.no_results') }}
@endforelse
@else
{{ __('adminhub::components.brand-search.pre_search_message') }}
@endif
@forelse($this->selectedModels as $brand)
{{ $brand->name }}
@empty
{{ __('adminhub::components.brand-search.select_empty') }}
@endforelse