@@ -225,7 +225,7 @@ The only required property is `fields`.
225
225
| clearFeedbackOnInput | Boolean | ` true ` | Whether to clear feedback on user input. |
226
226
| errors | Object | ` {} ` | An object with errors to show below each field. |
227
227
| defaults | Object | ` {} ` | An object with default values for the fields. |
228
- | fields | Array | - | An array describing how to render the fields. |
228
+ | fields | Array | ` - ` | An array describing how to render the fields. |
229
229
| messages | Object | ` {} ` | An object with feedback to show below each field. |
230
230
| modelValue | Object | ` null ` | The model to be synced with the field values. |
231
231
| omitNull | Boolean | ` false ` | Whether to omit null values in submit event's payload |
@@ -241,13 +241,13 @@ Each field has the following attributes:
241
241
242
242
| name | type | default | description |
243
243
| ------------ | ------------------ | ------------- | ------------------------------------------------------------------------------- |
244
- | name | ` String ` | - | Name of the field |
245
- | component | ` String ` , ` Object ` | dynamic | Vue Component that renders the field. |
246
- | label | ` String ` | dynamic | Label to be displayed by the wrapper. |
244
+ | name | ` String ` | ` - ` | Name of the field |
245
+ | component | ` String ` , ` Object ` | ` dynamic ` | Vue Component that renders the field. |
246
+ | label | ` String ` | ` dynamic ` | Label to be displayed by the wrapper. |
247
247
| model | ` Boolean ` | ` false ` | Whether to pass ` modelValue ` as a prop to the field component |
248
- | props | ` Object ` | dynamic | Properties for the field component (both Vue props and HTML attributes) |
249
- | propsWrapper | ` Object ` | dynamic | Properties for the field wrapper component (both Vue props and HTML attributes) |
250
- | type | ` String ` | dynamic | Field type, used to determine which Vue Component to use (if not specified) |
248
+ | props | ` Object ` | ` dynamic ` | Properties for the field component (both Vue props and HTML attributes) |
249
+ | propsWrapper | ` Object ` | ` dynamic ` | Properties for the field wrapper component (both Vue props and HTML attributes) |
250
+ | type | ` String ` | ` dynamic ` | Field type, used to determine which Vue Component to use (if not specified) |
251
251
| values | ` Boolean ` | ` false ` | Whether to pass the current form values as a prop to the field component |
252
252
| wrapper | ` String ` , ` Object ` | ` vfb-wrapper ` | Vue Component wrapping the field. |
253
253
0 commit comments