Skip to content

Commit

Permalink
Sort by name
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG committed Feb 28, 2025
1 parent fa23e69 commit 965cf9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/input/select/region.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
v-if="{{ Rapidez::config('general/region/display_all', '0') }} || '{{ Rapidez::config('general/region/state_required') }}'.split(',').includes({{ $country }})"
v-bind:required="'{{ Rapidez::config('general/region/state_required') }}'.split(',').includes({{ $country }})"
>
<option v-for="region in data.country.available_regions" :value="region.id">
<option v-for="region in data.country.available_regions.toSorted((a, b) => a.name.localeCompare(b.name))" :value="region.id">
@{{ region.name }}
</option>
</x-rapidez::input.select>
Expand Down

0 comments on commit 965cf9a

Please sign in to comment.