[Fix] Denomination 3 characters (#3001)

* fix: denomination must be 3 chars ISO
This commit is contained in:
Tiago Vasconcelos
2025-02-26 16:34:45 +01:00
committed by GitHub
parent 5aa1f9b0f8
commit 89d85a0d7e
3 changed files with 3 additions and 1 deletions
@@ -61,6 +61,7 @@
v-model="formData.lnbits_denomination"
label="sats"
:hint="$t('denomination_hint')"
:rules="[(val) => !val || val.length = 3 || val === 'sats' || $t('denomination_error')]"
></q-input>
</div>
<div class="col-12 col-md-4">
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -483,6 +483,7 @@ window.localisation.en = {
lnbits_wallet: 'LNbits wallet',
denomination: 'Denomination',
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_hint: 'URL to logo image in QR code',
ui_custom_image: 'Custom Image',