mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
input fields
This commit is contained in:
parent
9593cc715c
commit
aa25910367
1 changed files with 19 additions and 4 deletions
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue