Dynamic formschema not working properly #652
joaoaraujo-hotmart
started this conversation in
General
Replies: 1 comment 2 replies
-
First I should mention that swapping out schema is not recommended — its better to program reactivity into the schema. You can think of your schema like the But if you provide a simple playground reproduction I'm sure we can get further along the diagnosis. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I'm using Formkit with FormKitSchemas and I'm facing issues for my behavior: I have a dynamic
schema
(using a computed) that changes your structure everytime user changes the country. If I have an input typetext
as the first field in a schema and I change to another schema where the first field is aselect
one, it still as a text field and do not update to a select properly. I notice that if I re-render the entire component everytime schema changes, it works well.. Do you think this is a schema reference bug or you don't think schema can be dynamic as I'm using?Beta Was this translation helpful? Give feedback.
All reactions