Skip to content

How can i open preview in new tab #93

Discussion options

You must be logged in to vote

You can access the export object of the builder from localStorage under vueform-builder key. It contains schema and form properties that you can use in a new window to preview a form. You need to add an external button somewhere outside the builder to open the new window.

Saving can be achieved by subscribing to the @save event of <VueformBuilder> component as described here. You can add a unique key to each form before saving. Later, you can load back the forms to the builder or used the saved JSON to render forms.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ajitkaur8b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants