Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayadarwish committed Jan 28, 2025
1 parent fc01141 commit 98c3d68
Show file tree
Hide file tree
Showing 6 changed files with 5,626 additions and 571 deletions.
6 changes: 6 additions & 0 deletions button.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const formJson = JSON.stringify(Formio.formBuilder.instance.schema, null, 2);
const blob = new Blob([formJson], { type: 'application/json' });
const link = document.createElement('a');
link.href = URL.createObjectURL(blob);
link.download = 'form.json';
link.click();
Loading

0 comments on commit 98c3d68

Please sign in to comment.