[Fix] Denomination 3 characters (#3001)
* fix: denomination must be 3 chars ISO
This commit is contained in:
@@ -61,6 +61,7 @@
|
|||||||
v-model="formData.lnbits_denomination"
|
v-model="formData.lnbits_denomination"
|
||||||
label="sats"
|
label="sats"
|
||||||
:hint="$t('denomination_hint')"
|
:hint="$t('denomination_hint')"
|
||||||
|
:rules="[(val) => !val || val.length = 3 || val === 'sats' || $t('denomination_error')]"
|
||||||
></q-input>
|
></q-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-4">
|
<div class="col-12 col-md-4">
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -483,6 +483,7 @@ window.localisation.en = {
|
|||||||
lnbits_wallet: 'LNbits wallet',
|
lnbits_wallet: 'LNbits wallet',
|
||||||
denomination: 'Denomination',
|
denomination: 'Denomination',
|
||||||
denomination_hint: 'The name for the FakeWallet token',
|
denomination_hint: 'The name for the FakeWallet token',
|
||||||
|
denomination_error: 'Denomination must be 3 characters, or `sats`',
|
||||||
ui_qr_code_logo: 'QR Code Logo',
|
ui_qr_code_logo: 'QR Code Logo',
|
||||||
ui_qr_code_logo_hint: 'URL to logo image in QR code',
|
ui_qr_code_logo_hint: 'URL to logo image in QR code',
|
||||||
ui_custom_image: 'Custom Image',
|
ui_custom_image: 'Custom Image',
|
||||||
|
|||||||
Reference in New Issue
Block a user