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
This control allows you to select one or more items from a list. The List can be filtered to allow select items from a subset of items The item selection is based from a column value. The control will suggest items based on the inserted value.
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../../#getting-started) page for more information about installing the dependency.
The `ComboBoxListItemPicker` control can be configured with the following properties:
74
+
75
+
76
+
| Property | Type | Required | Description |
77
+
| ---- | ---- | ---- | ---- |
78
+
| columnInternalName | string | yes | InternalName of column to search and get values. |
79
+
| keyColumnInternalName | string | no | InternalName of column to use as the key for the selection. Must be a column with unique values. Default: Id |
80
+
| webUrl | string | yes | Url to web hosting list |
81
+
| spHttpClient | RequestClient | yes | Any implementation of PnPJS RequestClient |
82
+
| listId | string | yes | Guid of the list. |
83
+
| itemLimit | number | yes | Number of items which can be selected |
84
+
| onSelectItem | (items: any[]) => void | yes | Callback function which returns the selected items. |
85
+
| className | string | no | ClassName for the picker. |
86
+
| webUrl | string | no | URL of the site. By default it uses the current site URL. |
87
+
| defaultSelectedItems | any[]| no | Initial items that have already been selected and should appear in the people picker. Support objects and Ids only |
88
+
| suggestionsHeaderText | string | no | The text that should appear at the top of the suggestion box. |
89
+
| noResultsFoundText | string | no | The text that should appear when no results are returned. |
90
+
| disabled | boolean | no | Specifies if the control is disabled or not. |
91
+
| filter | string | no | Condition to filter list Item, same as $filter ODATA parameter|
92
+
| multiSelect | boolean | no | Allows multiple selection|
93
+
| onInitialized | () => void | no | Calls when component is ready|
0 commit comments