Skip to content
This repository was archived by the owner on May 15, 2019. It is now read-only.

Commit 0ae9c86

Browse files
janpapenbrockbenjaminforras
authored andcommitted
fix: edcarroll#333 Call lookup function with initial values even if valueField is not set.
1 parent 4f4ec82 commit 0ae9c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/select/components/multi-select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export class SuiMultiSelect<T, U> extends SuiSelectBase<T, U> implements ICustom
182182
.filter(v => v != undefined);
183183
}
184184
if (values.length > 0 && this.selectedOptions.length === 0) {
185-
if (this.valueField && this.searchService.hasItemLookup) {
185+
if (this.searchService.hasItemLookup) {
186186
// If the search service has a selected lookup function, make use of that to load the initial values.
187187
this.searchService
188188
.initialLookup(values)

0 commit comments

Comments
 (0)