# Component

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

## Properties

| Property                                                                      | Type      | Default    | Description                                                |
| ----------------------------------------------------------------------------- | --------- | ---------- | ---------------------------------------------------------- |
| [schema](https://vue-generators.gitbook.io/vue-generators/component/schema)   | `Object`  | `none`     | The schema object with fields                              |
| [model](https://vue-generators.gitbook.io/vue-generators/component/model)     | `Object`  | `none`     | The model/target JSON object                               |
| [options](https://vue-generators.gitbook.io/vue-generators/component/options) | `Object`  | `Object`   | 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 |

## Events

| Property                                                                           | Type        | Default | Description                                 |
| ---------------------------------------------------------------------------------- | ----------- | ------- | ------------------------------------------- |
| [validated](https://vue-generators.gitbook.io/vue-generators/component/events)     | `[...args]` | `none`  | Fired when the form has finished validating |
| [model-updated](https://vue-generators.gitbook.io/vue-generators/component/events) | `]...args]` | `none`  | Fired when the model has been updated       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vue-generators.gitbook.io/vue-generators/component.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
