wire-elements / spotlight

Livewire component that brings Spotlight/Alfred-like functionality to your Laravel application.
MIT License
927 stars 72 forks source link

Uncaught ReferenceError: toggleOpen is not defined #126

Open Supernova3339 opened 11 months ago

Supernova3339 commented 11 months ago
at [Alpine] toggleOpen() (eval at safeAsyncFunction (module.esm.js:587:19), <anonymous>:3:16)
    at module.esm.js:612:21
    at tryCatch (module.esm.js:527:12)
    at module.esm.js:3271:5
    at handler4 (module.esm.js:2576:25)
    at module.esm.js:2641:5
    at module.esm.js:2578:52
    at Function.dispatch (module.esm.js:90:6)
    at [Alpine] $dispatch('toggle-spotlight') (eval at safeAsyncFunction (module.esm.js:587:19), <anonymous>:3:32)
    at module.esm.js:612:21

Question

Hey 👋
Any ideas on how to fix this? It occurs when trying to open the Spotlight manually, eg wire:click="toggleSpotlight"

dormeljon commented 1 month ago

same here