mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-29 11:12:11 +01:00
fix dynamic chips
This commit is contained in:
parent
182c5a21e0
commit
56ffd3a95d
2
lnbits/static/bundle-components.min.js
vendored
2
lnbits/static/bundle-components.min.js
vendored
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
|
||||
this.chips.push(this.chip)
|
||||
this.chip = ''
|
||||
this.modelValue = this.chips.join(',')
|
||||
this.$emit('update:model-value', this.chips.join(','))
|
||||
},
|
||||
removeChip(index) {
|
||||
this.chips.splice(index, 1)
|
||||
|
@ -393,7 +393,7 @@
|
||||
></q-input>
|
||||
<div v-else-if="o.type === 'chips'">
|
||||
<lnbits-dynamic-chips
|
||||
:model-value="formData[o.name]"
|
||||
v-model="formData[o.name]"
|
||||
@update:model-value="handleValueChanged"
|
||||
></lnbits-dynamic-chips>
|
||||
</div>
|
||||
@ -489,7 +489,14 @@
|
||||
|
||||
<template id="lnbits-qrcode">
|
||||
<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" />
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user