|
1 |
| -| Property | Default | Type | Description | |
2 |
| -|-------------|-----------|---------------------------------------------|-------------------------------------------------------------------------------------------------| |
3 |
| -| name | - | `string` | Name of the field | |
4 |
| -| model | - | `string` | Key of model in the form schema model | |
5 |
| -| label | - | `string` | Label for the field | |
6 |
| -| type | - | `string` | Type of field, generally `input` if the field is an input. | |
7 |
| -| inputType | - | `string` | Type of input, only required when `type === 'input'` | |
8 |
| -| id | _computed_ | `string` | `id` of the field | |
9 |
| -| visible | `true` | `Boolean \| Function` | Whether the field is visible, method will be passed the `model`, `field` and field component* | |
10 |
| -| required | `false` | `Boolean \| Function` | Whether the field is required, method will be passed the `model`, `field` and field component* | |
11 |
| -| readonly | `false` | `Boolean \| Function` | Whether the field is read only, method will be passed the `model`, `field` and field component* | |
12 |
| -| disabled | `false` | `Boolean \| Function` | Whether the field is disabled, method will be passed the `model`, `field` and field component* | |
13 |
| -| hint | - | `string \| Function` | Hint to display underneath the field, can be passed a method* | |
14 |
| -| validator | _computed_ | `Array<Function> \| Function \| undefined` | A (list of) validator(s) to be validating the field against. | |
15 |
| -| validate | `onBlur` | `'onChanged'` \| `'onBlur'` | Method of validation for the field. | |
16 |
| -| onValidated | - | `Function \| undefined` | Method to be called after validation has been completed. | |
| 1 | +| Property | Default | Type | Description | |
| 2 | +|-------------|-----------|------------------------------------------------------------|-------------------------------------------------------------------------------------------------| |
| 3 | +| name | - | `string` | Name of the field | |
| 4 | +| model | - | `string` | Key of model in the form schema model | |
| 5 | +| label | - | `string` | Label for the field | |
| 6 | +| labelIcon | - | `string \| ComponentPublicInstance \| LabelIconDefinition` | Label for the field | |
| 7 | +| type | - | `string` | Type of field, generally `input` if the field is an input. | |
| 8 | +| inputType | - | `string` | Type of input, only required when `type === 'input'` | |
| 9 | +| id | _computed_ | `string` | `id` of the field | |
| 10 | +| visible | `true` | `Boolean \| Function` | Whether the field is visible, method will be passed the `model`, `field` and field component* | |
| 11 | +| required | `false` | `Boolean \| Function` | Whether the field is required, method will be passed the `model`, `field` and field component* | |
| 12 | +| readonly | `false` | `Boolean \| Function` | Whether the field is read only, method will be passed the `model`, `field` and field component* | |
| 13 | +| disabled | `false` | `Boolean \| Function` | Whether the field is disabled, method will be passed the `model`, `field` and field component* | |
| 14 | +| hint | - | `string \| Function` | Hint to display underneath the field, can be passed a method* | |
| 15 | +| validator | _computed_ | `Array<Function> \| Function \| undefined` | A (list of) validator(s) to be validating the field against. | |
| 16 | +| validate | `onBlur` | `'onChanged'` \| `'onBlur'` | Method of validation for the field. | |
| 17 | +| onValidated | - | `Function \| undefined` | Method to be called after validation has been completed. | |
17 | 18 |
|
18 | 19 | _*_ see [determineDynamicAttribute()](/guide/mixins/abstractField#determinedynamicattribute) for more information.
|
0 commit comments