Open Arrig0 opened 8 months ago
My question is the same documented here: https://github.com/vue-final/vue-final-modal/issues/429
I would also need reactive props/attrs.
Sorry, if I had read more issues, I would have solved it (https://github.com/vue-final/vue-final-modal/issues/357)
I suggest that this reactivity question should be better documented.
const msg = ref('a message');
.....
slots: {
default: computed(() => msg.value),
}
Version
vue-final-modal: v4.5.4 vue: v3 nuxt: v3.11
OS
Linux
Question
Sorry for the (maybe) trivial question, but how can I dynamically update the contents (slots) of the modal? I tried with some text via ref(), but it doesn't work.
Thanks in advance