Closed erkage closed 2 years ago
and also how to uset the methods like goToQuestion
?
For the others:
<template>
<flow-form
:questions="questions"
ref="vff"
>
</template>
<script setup>
...
const vff = ref(null);
...
</script>
And then you can use for example vff.value.goToQuestion(id)
or vff.value.submitted = true
.
old style:
this.$refs.vff.$data.submitted = true
Hi,
I can't figure out, how I can set manually the
submitted
to true when using Vue 3 Composation Api!?Thanks in advance!