@spicycoding/vue-form-parser
v1.1.1
Published
This is a vue component for parsing HTML forms that are created with our @spicycoding/vue-form-builder
Downloads
3
Maintainers
Readme
Vue form parser (HTML)
I highly recommend to use this component in conjunction with @spicycoding/vue-form-builder
Quick install
NPM:
npm install @spicycoding/vue-form-parser
Yarn
yarn add @spicycoding/vue-form-parser
Documentation
Add this at the top of your javascript file
import FormParser from '@spicycoding/vue-form-parser';
Now add it to the components object of your Vue instance.
components: {
'form-parser': FormParser
},
You can put the component in your HTML like this
<form-parser max-file-size="5" :json=""></form-parser>
Attribute: max-file-size
When a file field is available, how many megabytes are allowed to upload per file?
Attribute: json
If you used this package: @spicycoding/vue-form-builder
, then you probably stored the form builder json output in your database. You can use this data in the json property.
Thank you for using this Form Parser!
Kind regards, Pim vd Molen (Spicy Coding)