We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm submitting a ... (check one with "x")
[X] Bug report => search github for a similar issue or PR before submitting [ ] Feature request [ ] Other, please describe
Tell about your platform
Current behavior When i have two compoents on the same page if i change the second one it triggers the @on-change event twice
@on-change
Expected behavior should only trigger the event for the value that was updated
Minimal reproduction of the problem with instructions https://jsfiddle.net/sedyybb7/
on that fiddle if you change the first one you will only get the 1 alert but if you change the 2nd one it will alert twice, for each component
Looks like #27 might be similar but as you can see from the fiddle it is still not working, not sure if it's the way im doing it? or if a bug.
As always, thanks for your time and creating this helpful package
The text was updated successfully, but these errors were encountered:
b08519c
@JeffBeltran Thanks for catching this issue. I will be releasing a new version soon (may be tomorrow).
Same config object (via prop) was being used for two components. And each component was mutating this object.
config
Clone the config object before mutating it.
Meanwhile you can test the updated fiddle. https://jsfiddle.net/sedyybb7/4/
Sorry, something went wrong.
No branches or pull requests
I'm submitting a ... (check one with "x")
Tell about your platform
Current behavior
When i have two compoents on the same page if i change the second one it triggers the
@on-change
event twiceExpected behavior
should only trigger the event for the value that was updated
Minimal reproduction of the problem with instructions
https://jsfiddle.net/sedyybb7/
on that fiddle if you change the first one you will only get the 1 alert but if you change the 2nd one it will alert twice, for each component
Looks like #27 might be similar but as you can see from the fiddle it is still not working, not sure if it's the way im doing it? or if a bug.
As always, thanks for your time and creating this helpful package
The text was updated successfully, but these errors were encountered: