Added transition effect to appearance of address fields after auto-complete
This commit is contained in:
parent
9ab7b79682
commit
ea038adcff
1 changed files with 18 additions and 16 deletions
|
|
@ -6,23 +6,25 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<form>
|
<transition name="fade" mode="out-in">
|
||||||
<div v-show="showAddressFields" class="row my-4">
|
<div class="side-doors" v-if="showAddressFields" aria-live="polite">
|
||||||
<div class="col">
|
<form>
|
||||||
<textboxQuestion v-model="city" ref="city" inputId="city" labelText="City" />
|
<div class="row my-4">
|
||||||
</div>
|
<div class="col">
|
||||||
|
<textboxQuestion v-model="city" ref="city" inputId="city" labelText="City" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row my-4">
|
||||||
|
<div class="col-6">
|
||||||
|
<dropdownQuestion v-model="state" ref="state" inputId="state" :options="stateOptions" labelText="State" />
|
||||||
|
</div>
|
||||||
|
<div class="col-6">
|
||||||
|
<textboxQuestion v-model="zip" ref="zip" inputId="zip" labelText="Zip" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</transition>
|
||||||
<form>
|
|
||||||
<div v-show="showAddressFields" class="row my-4">
|
|
||||||
<div class="col-6">
|
|
||||||
<dropdownQuestion v-model="state" ref="state" inputId="state" :options="stateOptions" labelText="State" />
|
|
||||||
</div>
|
|
||||||
<div class="col-6">
|
|
||||||
<textboxQuestion v-model="zip" ref="zip" inputId="zip" labelText="Zip" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
<alert v-show="displayVerificationWarning"
|
<alert v-show="displayVerificationWarning"
|
||||||
alertClass="alert-warning"
|
alertClass="alert-warning"
|
||||||
alertHeadline="Please verify your address."
|
alertHeadline="Please verify your address."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue