mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Pay Button: Re-add Vue handlers to currency input (#3646)
Fixes a regression introduced in #3642: The pay button preview and code sample do not update without the Vue handlers.
This commit is contained in:
parent
8f54ec4f4a
commit
d11f87f0cc
@ -154,8 +154,10 @@
|
||||
<small class="text-danger">{{ errors.first('price') }}</small>
|
||||
</div>
|
||||
<div class="form-group col-md-4" v-if="!srvModel.appIdEndpoint">
|
||||
<label class="form-label" for="currency">Currency</label>
|
||||
<input asp-for="Currency" currency-selection class="form-control"/>
|
||||
<label class="form-label" for="Currency">Currency</label>
|
||||
<input asp-for="Currency" name="currency" currency-selection class="form-control"
|
||||
v-model="srvModel.currency" v-on:change="inputChanges"
|
||||
:class="{'is-invalid': errors.has('currency') }" />
|
||||
</div>
|
||||
<div class="form-group col-md-4" v-if="!srvModel.appIdEndpoint">
|
||||
<label class="form-label" for="defaultPaymentMethod">Default Payment Method</label>
|
||||
|
Loading…
Reference in New Issue
Block a user