# Options

Available options for vue-form-generator

| Property               | Default   | Type      | Description                                                                                                                                                         |
| ---------------------- | --------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| validateAfterLoad      | `false`   | `boolean` | Execute validation after model loaded                                                                                                                               |
| validateAfterChanged   | `false`   | `boolean` | Execute validation after every change                                                                                                                               |
| fieldIdPrefix          | *none*    | `string`  | Prefix to add to every field's `id`. Will be prepended to ids explicity set in the schema, as well as auto-generated ones.                                          |
| validateAsync          | `false`   | `boolean` | `validate()` method returns a Promise, refer to [validation](https://vue-generators.gitbook.io/vue-generators/validation/custom-validators#asynchronous-validators) |
| validationErrorClass   | `"error"` | `string`  | CSS Class attached to elements which are invalid                                                                                                                    |
| validationSuccessClass | *none*    | `string`  | CSS Class attached to elements which are valid                                                                                                                      |
| validateDebounceTime   | `0`       | `integer` | Amount of time in milliseconds validation waits before checking, refer to [validation](https://vue-generators.gitbook.io/vue-generators/validation#debounce)        |


---

# 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/options.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.
