Closed uires closed 4 years ago
How I get the the JSON Schema from the form Builder to save at the database ? I'm using Vue.js
<template> <div id="app"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" /> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" /> <link rel="stylesheet" href="https://unpkg.com/formiojs@latest/dist/formio.full.min.css" /> <form-builder v-bind:form="{ display: 'form' }" ></form-builder> <button type="button" class="btn btn-primary">Salvar</button> </div> </template> <script> import { FormBuilder } from "vue-formio"; export default { name: "app", components: { FormBuilder }, data() { return {}; } }; </script>
PS: Is not a bug, my bad.
I solved, add this at the file FormBuilder.js, and a put a button in the view where the FormBuilder is rendered
You can share this code?
How I get the the JSON Schema from the form Builder to save at the database ? I'm using Vue.js