Skip to content

Commit ff1cd7e

Browse files
committed
FieldCollectionData enhancements
1 parent 07a0d21 commit ff1cd7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/documentation/docs/controls/FieldCollectionData.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ The `FieldCollectionData` control can be configured with the following propertie
106106
| itemsPerPage | number | no | Allows you to specify the amount of items displayed per page. Paging control is added automatically. | |
107107
| executeFiltering | (searchFilter: string, item: any) => boolean | no | Allows you to show Search Box and specify own filtering logic. | |
108108
| panelProps | IPanelProps | no | Allows you to pass in props of the panel such as type and customWidth to control the underlying panel. | |
109-
| context | WebpartContext | no | Needed if **peoplepicker** field type is used | |
110-
| usePanel | boolean | no | Specify if you want the control to opened in a panel or directly on the page | true |
109+
| context | BaseComponentContext | no | Needed if **peoplepicker** field type is used | |
110+
| usePanel | boolean | no | Specify if you want the control to opened in a panel or directly on the page (only useful within webpart) | true |
111111
| noDataMessage | string | no | Specify the message when no items are added to the collection ||
112112

113113
Interface `ICustomCollectionField`
@@ -128,7 +128,7 @@ Interface `ICustomCollectionField`
128128
| onCustomRender | (field: ICustomCollectionField, value: any, onUpdate: (fieldId: string, value: any) => void, item: any, itemUniqueId: string, onCustomFieldValidation: (fieldId: string, errorMessage: string) => void) => JSX.Element | no | This property is only required if you are using the `custom` field type and it can be used to specify the custom rendering of your control in the collection data. |
129129
| multiSelect | boolean| no | Specifies multiple options can be selected (**combobox**) or mutliple users can be selected (**peoplepicker**) |
130130
| allowFreeform | boolean | no | Specifies that own options can be entered. Only for **combobox** field type |
131-
| minimumUsers| number | no | Specifies the minimum number of users to has to be entered for **peoplepicker** field type |
131+
| minimumUsers| number | no | Specifies the minimum number of users to be entered for **peoplepicker** field type |
132132
| minimumUsersMessage| string | no | Specifies the message to be displayed if minimumUsers are not entered for **peoplepicker** field type |
133133
| maximumUsers | number | no | Specifies the maximum number of users to be entered for **peoplepicker** field type |
134134

0 commit comments

Comments
 (0)