Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 879 Bytes

component.md

File metadata and controls

19 lines (13 loc) · 879 Bytes

Component

<vue-form-generator :schema="schema" :model="model" :options="formOptions"></vue-form-generator>

Properties

Property Type Default Description
schema Object none The schema object with fields
model Object none The model/target JSON object
| [options](options.md) | `Object` | `{`<br/>`validateAfterLoad: false,`<br/>`validateAsync: false,`<br/>`validateAfterChanged: false,`<br/>`    validationErrorClass: "error",`<br/>`validationSuccessClass: ""`<br/>`}` | Options for the VueFormComponent |

| multiple | Boolean | false | If true, we only show multi: true fields | | isNewModel | Boolean | false | If true, we won't run validation after load | | tag | String | "fieldset" | Change the main HTML element wrapper for Fields and Groups |