Replies: 1 comment 1 reply
-
Hey @john-999,
autocomplete({
// …
getSources() {
return fetch('…').then(({ items }) => {
return [
{
sourceId: 'source1',
getItems() {
return items.filter(/* … */);
},
},
{
sourceId: 'source2',
getItems() {
return items.filter(/* … */);
},
},
];
});
},
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I need to have:
How do I debounce this 1 query, in the below code?
Beta Was this translation helpful? Give feedback.
All reactions