Skip to content

Commit

Permalink
pkp/pkp-lib#10904 add debounce for FieldAffiliation, and limit max he…
Browse files Browse the repository at this point in the history
…ight of Autosuggest
  • Loading branch information
jardakotesovec committed Feb 26, 2025
1 parent 5c73d99 commit ef670d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Form/fields/Autosuggest.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
(allowCustom && localInputValue?.length) ||
isLoading
"
class="autosuggest__results-container autosuggest__results"
class="autosuggest__results-container autosuggest__results max-h-80 overflow-auto"
>
<ComboboxOption
v-if="isLoading"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const {
fetch: fetchSuggestions,
} = useFetch(url, {
query: queryParams,
debouncedMs: 400,
});
const staticProps = {
Expand Down

0 comments on commit ef670d6

Please sign in to comment.