diff --git a/package.json b/package.json index 443695d..9e443bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@uoe-eng/tabularasa", - "version": "1.33.0", + "version": "1.33.1", "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build --target lib --name tabularasa src/index.js", diff --git a/src/components/fields/AutocompleteInput.vue b/src/components/fields/AutocompleteInput.vue index 0274ba5..79c2eb7 100644 --- a/src/components/fields/AutocompleteInput.vue +++ b/src/components/fields/AutocompleteInput.vue @@ -67,7 +67,12 @@ export default { let onComplete = async (query) => { if ('onComplete' in props.methods.value) { // Use await as method might return a promise/be async - suggestions.value = await props.methods.value.onComplete(query.query, props.item.value, props.newItem.value) + suggestions.value = await props.methods.value.onComplete( + query.query, + props.item.value, + props.newItem.value, + props.ignored.value + ) } else { // Blank the suggestions, as if not modified the AC ui 'blocks' forever. suggestions.value = []