fix: emit event for nested lnbits-dynamic-fields components (#2053)

* fix: emit event for nested components

* chore: update bundle
This commit is contained in:
Vlad Stan 2023-10-20 14:14:10 +03:00 committed by GitHub
parent c15beaa014
commit 5262f56aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
// update cache version every time there is a new deployment
// so the service worker reinitializes the cache
const CACHE_VERSION = 64
const CACHE_VERSION = 65
const CURRENT_CACHE = `lnbits-${CACHE_VERSION}-`
const getApiKey = request => {

File diff suppressed because one or more lines are too long

View File

@ -603,7 +603,8 @@ Vue.component('lnbits-dynamic-fields', {
<p v-if=o.options?.length class="q-ml-xl">
<span v-text="o.name"></span> <small v-if="o.description"> (<span v-text="o.description"></span>)</small>
</p>
<lnbits-dynamic-fields v-if="o.options?.length" :options="o.options" v-model="formData[o.name]" class="q-ml-xl">
<lnbits-dynamic-fields v-if="o.options?.length" :options="o.options" v-model="formData[o.name]"
@input="handleValueChanged" class="q-ml-xl">
</lnbits-dynamic-fields>
<div v-else>
<q-input v-if="o.type === 'number'" v-model="formData[o.name]" @input="handleValueChanged" type="number"