feat: add password to <lnbits-dynamic-fields>

This commit is contained in:
dni ⚡ 2023-11-30 23:52:10 +01:00 committed by Pavol Rusnak
parent 5fc472a8d9
commit aa68d67b5e

View File

@ -615,6 +615,10 @@ Vue.component('lnbits-dynamic-fields', {
<q-input v-else-if="o.type === 'text'" v-model="formData[o.name]" @input="handleValueChanged" type="textarea"
rows="5" :label="o.name" :hint="o.description" filled dense>
</q-input>
<q-input v-else-if="o.type === 'password'" type="password"
v-model="formData[o.name]" @input="handleValueChanged"
:label="o.name" :hint="o.description" filled dense
></q-input>
<div v-else-if="o.type === 'bool'">
<q-item tag="label" v-ripple>
<q-item-section avatar top>