Skip to content

Commit

Permalink
tweak ao search
Browse files Browse the repository at this point in the history
  • Loading branch information
cedrikv committed Nov 10, 2023
1 parent c11b7e1 commit fde2219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/smart/FilterAanduidingsobject.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const aanduidingsobjectValue = computed(() => {
const updateValue = (value: IESAanduidingsobject) => emit('update:value', value);
const performAutocompleteSearch = async (searchTerm: string): Promise<IAutocompleteOption[]> => {
try {
aanduidingsobjecten.value = await inventarisApiService.getAanduidingsobjecten(searchTerm);
aanduidingsobjecten.value = await inventarisApiService.getAanduidingsobjecten(`${searchTerm}*`);
const autocompleteData: IAutocompleteOption[] = aanduidingsobjecten.value.map((ao) => {
return {
title: ao.titel,
Expand Down

0 comments on commit fde2219

Please sign in to comment.