mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 04:16:18 +02:00
input fields
This commit is contained in:
@@ -526,6 +526,7 @@
|
|||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
|
type="number"
|
||||||
v-model.number="invoiceData.amount"
|
v-model.number="invoiceData.amount"
|
||||||
label="Amount ({{LNBITS_DENOMINATION}}) *"
|
label="Amount ({{LNBITS_DENOMINATION}}) *"
|
||||||
mask="#"
|
mask="#"
|
||||||
@@ -585,6 +586,7 @@
|
|||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
|
type="number"
|
||||||
v-model.number="sendData.amount"
|
v-model.number="sendData.amount"
|
||||||
label="Amount ({{LNBITS_DENOMINATION}}) *"
|
label="Amount ({{LNBITS_DENOMINATION}}) *"
|
||||||
mask="#"
|
mask="#"
|
||||||
@@ -602,11 +604,24 @@
|
|||||||
></q-input>
|
></q-input>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="text-center q-mb-lg">
|
<div v-else class="text-center q-mb-lg">
|
||||||
|
<div class="text-center q-mb-lg">
|
||||||
|
<!-- <a :href="'cashu:' + sendData.tokensBase64"> -->
|
||||||
|
<q-responsive :ratio="1" class="q-mx-xl">
|
||||||
|
<qrcode
|
||||||
|
:value="sendData.tokensBase64"
|
||||||
|
:options="{width: 340}"
|
||||||
|
class="rounded-borders"
|
||||||
|
>
|
||||||
|
</qrcode>
|
||||||
|
</q-responsive>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
outlined
|
||||||
dense
|
dense
|
||||||
|
readonly
|
||||||
v-model="sendData.tokensBase64"
|
v-model="sendData.tokensBase64"
|
||||||
label="Tokens"
|
label="Token"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
class="q-mb-lg"
|
class="q-mb-lg"
|
||||||
></q-input>
|
></q-input>
|
||||||
@@ -1232,7 +1247,7 @@
|
|||||||
/////////////////////////////////// WALLET ///////////////////////////////////
|
/////////////////////////////////// WALLET ///////////////////////////////////
|
||||||
showInvoicesDialog: async function () {
|
showInvoicesDialog: async function () {
|
||||||
console.log('##### showInvoicesDialog')
|
console.log('##### showInvoicesDialog')
|
||||||
this.invoiceData.amount = 0
|
this.invoiceData.amount = ''
|
||||||
this.invoiceData.bolt11 = ''
|
this.invoiceData.bolt11 = ''
|
||||||
this.invoiceData.hash = ''
|
this.invoiceData.hash = ''
|
||||||
this.invoiceData.memo = ''
|
this.invoiceData.memo = ''
|
||||||
@@ -1269,7 +1284,7 @@
|
|||||||
console.log('##### showSendTokensDialog')
|
console.log('##### showSendTokensDialog')
|
||||||
this.sendData.tokens = ''
|
this.sendData.tokens = ''
|
||||||
this.sendData.tokensBase64 = ''
|
this.sendData.tokensBase64 = ''
|
||||||
this.sendData.amount = 0
|
this.sendData.amount = ''
|
||||||
this.sendData.memo = ''
|
this.sendData.memo = ''
|
||||||
this.showSendTokens = true
|
this.showSendTokens = true
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user