Skip to content

Commit

Permalink
get-access-value-on-blur pstanoev#214
Browse files Browse the repository at this point in the history
  • Loading branch information
kane81 committed Nov 25, 2024
1 parent fe4d0a8 commit 5c443b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SimpleAutocomplete.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}
export let onChange = function (newSelectedItem) {}
export let onFocus = function () {}
export let onBlur = function () {}
export let onBlur = function () {text}
export let onCreate = function (text) {
if (debug) {
console.log("onCreate: " + text)
Expand Down Expand Up @@ -876,7 +876,7 @@
close()
}
onBlur()
onBlur(text);
}
function resetListToAllItemsAndOpen() {
Expand Down

0 comments on commit 5c443b7

Please sign in to comment.