Is there a way to have more than one instance of the upload widget? #152
-
I need two distinct sets of behavior after upload, but since the widget is stored in memory the onUpload function is set the first time I call the widget. |
Beta Was this translation helpful? Give feedback.
Answered by
colbyfayock
Mar 2, 2023
Replies: 1 comment 3 replies
-
hey @krnrnee i think it should work as is? are you using the latest version? its possible this was fixed while I was addressing another bug, but i just tried in the docs examples adding a second unsigned widget with 2 different console logs and it seems to handle both okay let me know if thats not what you mean or if you're seeing a different issue |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
krnrnee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey @krnrnee i think it should work as is? are you using the latest version? its possible this was fixed while I was addressing another bug, but i just tried in the docs examples adding a second unsigned widget with 2 different console logs and it seems to handle both okay
let me know if thats not what you mean or if you're seeing a different issue