fix dynamic chips
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -450,7 +450,7 @@ window.app.component('lnbits-dynamic-chips', {
|
|||||||
if (!this.chip) return
|
if (!this.chip) return
|
||||||
this.chips.push(this.chip)
|
this.chips.push(this.chip)
|
||||||
this.chip = ''
|
this.chip = ''
|
||||||
this.modelValue = this.chips.join(',')
|
this.$emit('update:model-value', this.chips.join(','))
|
||||||
},
|
},
|
||||||
removeChip(index) {
|
removeChip(index) {
|
||||||
this.chips.splice(index, 1)
|
this.chips.splice(index, 1)
|
||||||
|
|||||||
@@ -393,7 +393,7 @@
|
|||||||
></q-input>
|
></q-input>
|
||||||
<div v-else-if="o.type === 'chips'">
|
<div v-else-if="o.type === 'chips'">
|
||||||
<lnbits-dynamic-chips
|
<lnbits-dynamic-chips
|
||||||
:model-value="formData[o.name]"
|
v-model="formData[o.name]"
|
||||||
@update:model-value="handleValueChanged"
|
@update:model-value="handleValueChanged"
|
||||||
></lnbits-dynamic-chips>
|
></lnbits-dynamic-chips>
|
||||||
</div>
|
</div>
|
||||||
@@ -489,7 +489,14 @@
|
|||||||
|
|
||||||
<template id="lnbits-qrcode">
|
<template id="lnbits-qrcode">
|
||||||
<div class="qrcode__wrapper">
|
<div class="qrcode__wrapper">
|
||||||
<qrcode-vue :value="value" level="Q" render-as="svg" margin="1" size="350" class="rounded-borders"></qrcode-vue>
|
<qrcode-vue
|
||||||
|
:value="value"
|
||||||
|
level="Q"
|
||||||
|
render-as="svg"
|
||||||
|
margin="1"
|
||||||
|
size="350"
|
||||||
|
class="rounded-borders"
|
||||||
|
></qrcode-vue>
|
||||||
<img class="qrcode__image" :src="logo" alt="qrcode icon" />
|
<img class="qrcode__image" :src="logo" alt="qrcode icon" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user