We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 151fe35 commit 84b9c81Copy full SHA for 84b9c81
docs/documentation/docs/controls/ComboBoxListItemPicker.md
@@ -61,11 +61,8 @@ import { ComboBoxListItemPicker } from '@pnp/spfx-controls-react/lib/ListItemPic
61
- The `onSelectedItem` change event returns the list items selected and can be implemented as follows:
62
63
```TypeScript
64
-private onSelectedItem(data: { key: string; name: string }[]) {
65
- for (const item of data) {
66
- console.log(`Item value: ${item.key}`);
67
- console.log(`Item text: ${item.name}`);
68
- }
+private onSelectedItem(items:[]) {
+ console.log("selected items:", items);
69
}
70
```
71
## Implementation
0 commit comments