Skip to content

Commit c3540d1

Browse files
author
Marcin Wojciechowski
committed
#458 listPicker always return "test" when multiple allowed
1 parent 3df2b77 commit c3540d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/listPicker/ListPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class ListPicker extends React.Component<IListPickerProps, IListPickerSta
122122

123123
if (multiSelect === true) {
124124
// Check if option was selected
125-
let selectedLists = this._selectedList ? cloneDeep(this._selectedList) as string[] : ["test"];
125+
let selectedLists = this._selectedList ? cloneDeep(this._selectedList) as string[] : [];
126126
if (option.selected) {
127127
selectedLists.push(option.key as string);
128128
} else {

0 commit comments

Comments
 (0)