Searchable Select Blade component #15251
Unanswered
EnasAlHalabi
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Other
Package Version
v3.0.0
How can we help you?
Hello all,
I have cities list in blade and I want to make it searchable, Please how can I achieve this? below is my code:
{{ __('City') }}
x-filament::input.wrapper
<x-filament::input.select
wire:model.defer="tableData.{{ $index }}.{{ $header }}"
class="w-full border-gray-300 bg-transparent dark:border-white-700">
{{ __('Select City') }}
getLocale() == 'ar' ? 'city' : 'citye'; ?>
@foreach ($countries as $country)
{{ $country['name'] }}
@foreach($country['cities'] as $city)
{{ $city[$name] }}
@Endforeach
@Endforeach
</x-filament::input.select>
</x-filament::input.wrapper>
Beta Was this translation helpful? Give feedback.
All reactions