diff --git a/doc_src/pages/examples/remote.njk b/doc_src/pages/examples/remote.njk index 0907cba7..2ea199db 100644 --- a/doc_src/pages/examples/remote.njk +++ b/doc_src/pages/examples/remote.njk @@ -135,7 +135,7 @@ new TomSelect('#select-state',{ .then(response => response.json()) .then(json => { callback(json.result.list); - self.settings.load = null; + self.settings.load = (query, callback) => callback(); }).catch(()=>{ callback(); });