I am encountering an issue where reactivity is not working within a custom Vue component that wraps an IonModal
. Changing a boolean variable doesn’t cause a reactive update to the contents of the modal even though you can see the variable changing in a console.log
.
I am wondering if I am doing something wrong, if it’s not suppose to work within an IonModal
or if this is a weird bug.
Here is a starter project replicating the issue with both the Options API and the Composition API along with code without a modal that works as expected.
If you open the console and click the Toggle button, you’ll see showText
is changing but the contents in the modal is not.
3 posts - 2 participants