Skip to content

Commit

Permalink
Merge pull request #1690 from gerkevgarderen/fix-docs-listitempickers
Browse files Browse the repository at this point in the history
Fix docs for ListItemPicker.onSelectedItems
  • Loading branch information
joelfmrodrigues authored Nov 3, 2023
2 parents 07e4f20 + 5aafb5a commit 7c08304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/documentation/docs/controls/ComboBoxListItemPicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ The `ComboBoxListItemPicker` control can be configured with the following proper
| webUrl | string | yes | Url to web hosting list |
| spHttpClient | RequestClient | yes | Any implementation of PnPJS RequestClient |
| listId | string | yes | Guid or title of the list. |
| onSelectItem | (items: any[]) => void | yes | Callback function which returns the selected items. |
| onSelectedItem | (items: any[]) => void | yes | Callback function which returns the selected items. |
| className | string | no | ClassName for the picker. |
| defaultSelectedItems | any[] | no | Initial items that have already been selected and should appear in the people picker. Support objects and Ids only |
| suggestionsHeaderText | string | no | The text that should appear at the top of the suggestion box. |
Expand Down
2 changes: 1 addition & 1 deletion docs/documentation/docs/controls/ListItemPicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The `ListItemPicker` control can be configured with the following properties:
| context | BaseComponentContext | yes | SPFx web part or extention context |
| listId | string | yes | Guid or title of the list. |
| itemLimit | number | yes | Number of items which can be selected |
| onSelectItem | (items: any[]) => void | yes | Callback function which returns the selected items. |
| onSelectedItem | (items: any[]) => void | yes | Callback function which returns the selected items. |
| className | string | no | ClassName for the picker. |
| webUrl | string | no | URL of the site. By default it uses the current site URL. |
| defaultSelectedItems | any[] | no | Initial items that have already been selected and should appear in the people picker. |
Expand Down

0 comments on commit 7c08304

Please sign in to comment.