[Fix] Denomination 3 characters (#3001)

* fix: denomination must be 3 chars ISO
This commit is contained in:
Tiago Vasconcelos 2025-02-26 15:34:45 +00:00 committed by GitHub
parent 5aa1f9b0f8
commit 89d85a0d7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

@ -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">

File diff suppressed because one or more lines are too long

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',