Replies: 1 comment
-
I wonder if the issue was caused by |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Basically, I have state from
use_ref
, update it inuse_coroutine
. There are two things concerned here in the state. One is aHashMap
, which seems working fine (confirming that my logic is alright). The other is aVec
of a structure, which gets me in trouble.After updating the
Vec
.state.read()
seems alright. But the UI does not update showing the new value. A debuggingdiv
showing the content of theVec
showed the original value.Here is some code, the UI function is showing a label, when clicking on it, turns into an input. With
Enter
in the input, it calls the coroutine to post the value and update thesegment
.Beta Was this translation helpful? Give feedback.
All reactions