diff --git a/src/sparnatural/components/widgets/ListWidget.ts b/src/sparnatural/components/widgets/ListWidget.ts index da5bd29b..11c372e8 100644 --- a/src/sparnatural/components/widgets/ListWidget.ts +++ b/src/sparnatural/components/widgets/ListWidget.ts @@ -162,7 +162,7 @@ export class ListWidget extends AbstractWidget { this.toggleSpinner(I18n.labels.AutocompleteSpinner_Searching); // if there are some provided values... - if(this.configuration.values) { + if(this.configuration.values?.length > 0) { // never sort to keep the original list order this.sort = false; // convert the provided list of terms to RDFTerm[]