You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
Hi, first of all, thanks for the amazing work you've done.
I'm using Vite and Vue3 with composition API style.
Describe the bug
I have a form where user can add multiple contacts, please refer to image.
So, what I am trying to achieve is to use "useSchemaForm" to work with dynamic form models. Each tab is an object in the formModel and that object should bind using the "useSchemaForm".
let step = ref(0); let formModel = ref([{}]); useSchemaForm(formModel.value[step.value]);
when switching tabs, I'm trying to call "useSchemaForm" inside a function, but it throws the warning. Vue warn provide() can only be used inside setup().
Hi, first of all, thanks for the amazing work you've done.
I'm using Vite and Vue3 with composition API style.
Describe the bug
I have a form where user can add multiple contacts, please refer to image.
So, what I am trying to achieve is to use "useSchemaForm" to work with dynamic form models. Each tab is an object in the formModel and that object should bind using the "useSchemaForm".
let step = ref(0);
let formModel = ref([{}]);
useSchemaForm(formModel.value[step.value]);
when switching tabs, I'm trying to call "useSchemaForm" inside a function, but it throws the warning.
Vue warn provide() can only be used inside setup().
const selectTab = (index) => { useSchemaForm(formModel.value[index]); };
Expected behavior
It should bind the dynamic form model objects, to achieve these kind of scenarios.
System Info
The text was updated successfully, but these errors were encountered: