Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] Region select #738

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
1 change: 0 additions & 1 deletion resources/views/checkout/partials/address.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ class="exists"
dusk="{{ $type }}_region"
country="variables.country_code"
v-model="variables.region_id"
required
/>
</label>
</div>
Expand Down
1 change: 1 addition & 0 deletions resources/views/components/input/select/region.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<template v-if="data && data.country.available_regions">
<x-rapidez::input.select
{{ $attributes }}
v-if="'{{ Rapidez::config('general/region/state_required') }}'.split(',').includes({{ $country }}) || {{ Rapidez::config('general/region/display_all', '0') }}"
v-bind:required="'{{ Rapidez::config('general/region/state_required') }}'.split(',').includes({{ $country }})"
>
<option v-for="region in data.country.available_regions" :value="region.id">
Expand Down
Loading