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

fix add event handler not available and observables with different scope #758

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mablesly
Copy link

@mablesly mablesly commented Mar 11, 2021

The add event handler as described in the documentation is not available to the rest of the code as it is added to the field and not to the _events of the field object. As "onAdd" does not exist in the specs, this is ignored and the handler never called. Therefore "add" should be added in the if-clause and to end up in the _event handlers.

The functionality of observables from different scopes didn't work anymore. For some reason the scope of this was added to the arguments and later used as scope. This way the original scope was interpreted as ID of the element.

@mablesly mablesly changed the title fix add event handler not available fix add event handler not available and observables with different scope Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant