Skip to content

Commit 5aafb5a

Browse files
Fix docs for ListItemPicker.onSelectedItems
1 parent c6ec162 commit 5aafb5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/documentation/docs/controls/ComboBoxListItemPicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The `ComboBoxListItemPicker` control can be configured with the following proper
113113
| webUrl | string | yes | Url to web hosting list |
114114
| spHttpClient | RequestClient | yes | Any implementation of PnPJS RequestClient |
115115
| listId | string | yes | Guid or title of the list. |
116-
| onSelectItem | (items: any[]) => void | yes | Callback function which returns the selected items. |
116+
| onSelectedItem | (items: any[]) => void | yes | Callback function which returns the selected items. |
117117
| className | string | no | ClassName for the picker. |
118118
| defaultSelectedItems | any[] | no | Initial items that have already been selected and should appear in the people picker. Support objects and Ids only |
119119
| suggestionsHeaderText | string | no | The text that should appear at the top of the suggestion box. |

docs/documentation/docs/controls/ListItemPicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The `ListItemPicker` control can be configured with the following properties:
5353
| context | BaseComponentContext | yes | SPFx web part or extention context |
5454
| listId | string | yes | Guid or title of the list. |
5555
| itemLimit | number | yes | Number of items which can be selected |
56-
| onSelectItem | (items: any[]) => void | yes | Callback function which returns the selected items. |
56+
| onSelectedItem | (items: any[]) => void | yes | Callback function which returns the selected items. |
5757
| className | string | no | ClassName for the picker. |
5858
| webUrl | string | no | URL of the site. By default it uses the current site URL. |
5959
| defaultSelectedItems | any[] | no | Initial items that have already been selected and should appear in the people picker. |

0 commit comments

Comments
 (0)