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

Dynamically created UI Elements are not bound by .bindInputEvents() #2

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

Comments

@rpc5102
Copy link
Member

rpc5102 commented Jul 2, 2020

The internal startup function .bindInputEvents only captures session$input data that is available on init. Elements added to the UI afterwards will not have event observers attached to them for the collection of xAPI interaction statements.

This binding should only happen to each element once to prevent duplicate statement creation.

See: https://github.com/EducationShinyAppTeam/boastUtils/blob/master/R/lockerUtils.R#L38.

@rpc5102 rpc5102 added the bug Something isn't working label Jul 2, 2020
@rpc5102 rpc5102 self-assigned this Jul 2, 2020
@rpc5102
Copy link
Member Author

rpc5102 commented Jun 30, 2022

Needs testing 2ee8197.

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