add currency-selector input on Payment Request and Pay Button pages (#3642)

This commit is contained in:
Alec G
2022-04-14 21:53:37 -07:00
committed by GitHub
parent 64534efe71
commit 8f54ec4f4a
2 changed files with 2 additions and 4 deletions

View File

@@ -50,7 +50,7 @@
</div>
<div class="form-group">
<label asp-for="Currency" class="form-label"></label>
<input asp-for="Currency" class="form-control" />
<input asp-for="Currency" currency-selection class="form-control"/>
<span asp-validation-for="Currency" class="text-danger"></span>
</div>
</div>

View File

@@ -155,9 +155,7 @@
</div>
<div class="form-group col-md-4" v-if="!srvModel.appIdEndpoint">
<label class="form-label" for="currency">Currency</label>
<input name="currency" type="text" class="form-control" id="currency"
v-model="srvModel.currency" v-on:change="inputChanges"
:class="{'is-invalid': errors.has('currency') }">
<input asp-for="Currency" currency-selection class="form-control"/>
</div>
<div class="form-group col-md-4" v-if="!srvModel.appIdEndpoint">
<label class="form-label" for="defaultPaymentMethod">Default Payment Method</label>