The example for ui.run_javascript() doesn't work correctly? #3472
v479038280
started this conversation in
General
Replies: 2 comments 3 replies
-
you should only await code which belongs to |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes, @v479038280, I noticed that too. The demos including |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I run the example code directly but got this error when click the button 'receive result'
here is the error message
I found this
Raise exception when awaiting JavaScript on [auto-index page](https://nicegui.io/documentation/section_pages_routing) to avoid aftereffects with multiple connected clients (https://github.com/zauberzeug/nicegui/issues/2951, https://github.com/zauberzeug/nicegui/pull/2983 by @CrystalWindSnake, @frankvp11, @falkoschindler)
but the example on the official site doesn't have such error message,should we change the example code to this?
Beta Was this translation helpful? Give feedback.
All reactions