From 59b7d449db35b6acafab9d7739f55326301a644c Mon Sep 17 00:00:00 2001 From: GaziYucel Date: Mon, 13 Jan 2025 16:00:19 +0100 Subject: [PATCH] bug fix: select custom does not work if no suggestions --- src/components/Form/fields/FieldAffiliationsRorAutoSuggest.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Form/fields/FieldAffiliationsRorAutoSuggest.vue b/src/components/Form/fields/FieldAffiliationsRorAutoSuggest.vue index d477801b..2c0e2eff 100644 --- a/src/components/Form/fields/FieldAffiliationsRorAutoSuggest.vue +++ b/src/components/Form/fields/FieldAffiliationsRorAutoSuggest.vue @@ -125,7 +125,7 @@ function changeFocus(focused) { function handleSelect(suggestion) { if (!suggestion) { - if (!inputValue.value || !mappedSuggestions.value.length) { + if (!inputValue.value) { return; }