Repository navigation
Replies: 1 comment
|
Note that you want to listen to the |
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.
Uh oh!
There was an error while loading. Please reload this page.
Sorry if this feature already exists, haha. I can't find a simple way to set up a React-like controlled component. Take
selectfor example. You can do something like<select value={value} onselectionchange={callback : Callback<Event>}>, but I can't figure out howcallbackgets the new selection so it can changevalue. In React, the callback would get the new selection, but I'm not sure what the equivalent pattern looks like in Yew. As far as I can tell, it's not possible, is that correct?All reactions