Skip to content

Commit 723ca5a

Browse files
committed
docs: fix schema description
1 parent ebd384b commit 723ca5a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

public/docs/form-builder.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,19 +198,19 @@ export default {
198198
| --------------------- | ----------------------------------------------------------- | ------------------ | ------------------------------------------------------- |
199199
| `type` | Type of field | `String` | input, select, checkbox, radio, actions |
200200
| `inputType` | Type of input | `String` | text, number, textarea, password and border<sup>1</sup> |
201-
| `buttons` | Form action buttons. Available if type is `actions` | `Array` | |
202-
| `buttons.type` | Type of button. Also event emitter type for `@action` | `String` | submit, cancel |
203-
| `buttons.buttonType` | Type of <a href="#/components/button">Button</a> component | `String` | primary, success, warning, danger |
204-
| `buttons.buttonLabel` | Label for button | `String` | |
201+
| `buttons` | Form action buttons. Available if type is `actions` | `Array` | Array of object |
202+
| `buttons[index].type` | Type of button. Also event emitter type for `@action` | `String` | submit, cancel |
203+
| `buttons[index].buttonType` | Type of <a href="#/components/button">Button</a> component | `String` | primary, success, warning, danger |
204+
| `buttons[index].buttonLabel` | Label for button | `String` | |
205205
| `name` | Field detection to start validation and error messages | `Object` | |
206206
| `label` | Label of the form item | `String` | |
207207
| `model` | Name of property in the model | `String` | |
208208
| `disabled` | Disable the field | `Boolean` | |
209209
| `readonly` | Same as `readonly` in native input | `Boolean` | |
210210
| `placeholder` | Placeholder of value | `Boolean` | |
211-
| `options` | Options for list components, like Select or Checkbox | `Array` | |
212-
| `options.label` | Label of option | `String` | |
213-
| `options.value` | Value of option | `String`, `Number` | |
211+
| `options` | Options for list components, like Select or Checkbox | `Array` | Array of object |
212+
| `options[index].label` | Label of option | `String` | |
213+
| `options[index].value` | Value of option | `String`, `Number` | |
214214
| `validate` | VeeValidate <a href="https://baianat.github.io/vee-validate/guide/rules.html?ref=vfc">rules</a> | `Object` | |
215215

216216
- <sup>1</sup> `border` is available only if `type` is checkbox or radio.

0 commit comments

Comments
 (0)