You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| defaultValue |`FieldArrayValue`|| Default value |
14
-
| type |`"array"`| yes | Entity type |
15
-
| required |`boolean`|| Can the value be `undefined` or `null`|
16
-
| maxLength |`bigint`|| Maximum number of array elements |
17
-
| minLength |`bigint`|| Minimum number of array elements |
18
-
| items |`Spec`|| Entity `spec` for an array element |
19
-
| enum |`string[]`|| An array of valid values, for example for a select |
20
-
| description |`Record<string, string>`|| Beautiful names for values from `enum`|
21
-
| validator |`string`|| The key for determining the [validator](./config.md#validators) for the entity, if the value is empty, the base [validator](./config.md#validators) from the entity config will be used |
22
-
| viewSpec.disabled |`boolean`|| Is the field available for editing |
23
-
| viewSpec.type |`string`| yes | Key to define [Input](./config.md#inputs) for an entity |
24
-
| viewSpec.layout |`string`|| Key to define [Layout](./config.md#layouts) for an entity |
25
-
| viewSpec.layoutTitle |`string`|| Title for [Layout](./config.md#layouts)|
26
-
| viewSpec.layoutDescription |`string`|| Additional description/hint for [Layout](./config.md#layouts)|
27
-
| viewSpec.layoutOpen |`boolean`|| Expand [Layout](./config.md#layouts) at the first rendering |
28
-
| viewSpec.itemLabel |`string`|| Text for the button that adds an array element |
29
-
| viewSpec.itemPrefix |`string`|| Additional text for an element in the array |
30
-
| viewSpec.table |`{label: string; property: string; description?: string;}[]`|| An array whose elements are used to establish column names and their order, if `type === "table"`. `description` adds a hint to a field in the table's header|
31
-
| viewSpec.link |`any`|| A field containing information for forming a [link](#link) for a value |
32
-
| viewSpec.placeholder |`string`|| A short hint displayed in the field before the user enters the value |
33
-
| viewSpec.addButtonPosition |`"down"/"right"`|| The location of the button adding a new element to the array. Default value "down". |
34
-
| viewSpec.hidden |`boolean`|| Hide field and view |
35
-
| viewSpec.selectParams |`object`||[Parameters](#selectparams) additional options for the selector |
36
-
| viewSpec.checkboxGroupParams |`object`||[Parameters](#checkboxgroupparams) additional options for the checkbox group |
37
-
| viewSpec.inputProps |`object`||[InputProps](./input-props-map.md) Additional properties for internal input components |
| required |`boolean`|| Can the value be `undefined` or `null`|
16
+
| maxLength |`bigint`|| Maximum number of array elements|
17
+
| minLength |`bigint`|| Minimum number of array elements|
18
+
| items |`Spec`|| Entity `spec` for an array element|
19
+
| enum |`string[]`|| An array of valid values, for example for a select|
20
+
| description |`Record<string, string>`|| Beautiful names for values from `enum`|
21
+
| validator |`string`|| The key for determining the [validator](./config.md#validators) for the entity, if the value is empty, the base [validator](./config.md#validators) from the entity config will be used|
22
+
| viewSpec.disabled |`boolean`|| Is the field available for editing|
23
+
| viewSpec.type |`string`| yes | Key to define [Input](./config.md#inputs) for an entity|
24
+
| viewSpec.layout |`string`|| Key to define [Layout](./config.md#layouts) for an entity|
25
+
| viewSpec.layoutTitle |`string`|| Title for [Layout](./config.md#layouts)|
26
+
| viewSpec.layoutDescription |`string`|| Additional description/hint for [Layout](./config.md#layouts)|
27
+
| viewSpec.layoutOpen |`boolean`|| Expand [Layout](./config.md#layouts) at the first rendering|
28
+
| viewSpec.itemLabel |`string`|| Text for the button that adds an array element|
29
+
| viewSpec.itemPrefix |`string`|| Additional text for an element in the array|
30
+
| viewSpec.table |`{label: string; property: string; description?: string; width?: number;}[]`|| An array whose elements are used to establish column names and their order, if `type === "table"`. `description` adds a hint to a field in the table's header. `width` sets the width of the column in pixels.|
31
+
| viewSpec.link |`any`|| A field containing information for forming a [link](#link) for a value|
32
+
| viewSpec.placeholder |`string`|| A short hint displayed in the field before the user enters the value|
33
+
| viewSpec.addButtonPosition |`"down"/"right"`|| The location of the button adding a new element to the array. Default value "down".|
34
+
| viewSpec.hidden |`boolean`|| Hide field and view|
35
+
| viewSpec.selectParams |`object`||[Parameters](#selectparams) additional options for the selector|
36
+
| viewSpec.checkboxGroupParams |`object`||[Parameters](#checkboxgroupparams) additional options for the checkbox group|
37
+
| viewSpec.inputProps |`object`||[InputProps](./input-props-map.md) Additional properties for internal input components|
0 commit comments