Skip to content
Discussion options

You must be logged in to vote

You need to place greetings.control.... after the page.add(...) for it to work.
The refs first need to be registered (as in your ref=greetings) before used. Before this 'binding' the ref.current is None since it is not connected to a control.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@heximing
Comment options

Answer selected by heximing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants