Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V1] "Google not found" exception if livewire control reloads itself #8

Open
daredloco opened this issue Jul 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@daredloco
Copy link
Collaborator

Describe the bug
Exception thrown in livewire with "google not found"

To Reproduce
Steps to reproduce the behavior:

  1. Do an action to reload the livewire-control.
  2. See exception in developer console

Expected behavior
No error shown

Screenshots
If applicable, add screenshots to help explain your problem.

Lagoon Charts Version
v0.2.4

Laravel Version
v9.52.10

Livewire Version
v2.12.3

Browser
Firefox

Additional context
Livewire V3 could fix this error probably, but for now find a better solution to load the google charts library seperately from the control. Maybe remove the inclusion of it at all and let the user include it himself.

@daredloco daredloco added the bug Something isn't working label Jul 2, 2023
@daredloco daredloco self-assigned this Jul 2, 2023
@daredloco daredloco changed the title "Google not found" exception if livewire control reloads itself [V1] "Google not found" exception if livewire control reloads itself Jul 22, 2023
@daredloco
Copy link
Collaborator Author

The easiest solution could probably be

  1. Let the library user add the dependency
  2. Add a @lagoonScripts or something which would load the dependencies where needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant