This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Multiple Listeners on the same event #4
Comments
In the listener field, at "calculated-field/resources/js/components/listener-field/FormField.vue" the following code causes the event to only affect one listener component at a time.
Removing the _.debounce() function, and replacing the above code with this solved it for me:
Of course, it's not ideal to modify vendor/package code. So I basically followed @codebykyle instructions here, and created my own custom package, to fix this issue myself. |
This issue can be fixed while keeping the debounce in place! This is a very useful article I used helping debug this part. Rewrite calculate value function:
And add the debounce to the mounted part of your component:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it not possible to have multiple listeners on the same event?
Each of these listeners work on their own but if I add them all, only the last is updated
The text was updated successfully, but these errors were encountered: