VueformBuilder preview$ and el$.form$.schema #89
Unanswered
dan-dazlab
asked this question in
Questions
Replies: 1 comment
-
You should be able to use I've created a sandbox with a Custom and Text element. If you add the Custom element it will print out the whole schema (via If there's any case where this does not work, I'd appreciate if you could fork the sandbox and show it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Vueform I can access schema from any element with
el$.from$.schema
.But this doen't work in VueformBuilder.
I can access it only from instance:
this.$refs.builder$.builder.schema
other problem is with
BTW: when preview$ is loaded this.$refs.builder$.preview$.form$.schema === this.$refs.builder$.builder.schema !== el$.from$.schema
Any suggestions what could go wrong on a custom element?
el$ is const el$ = useElement(props, context)
Beta Was this translation helpful? Give feedback.
All reactions