Skip to content

TextArea seems to crash under special circumstances #4561

Answered by davep
UlrichGoebel asked this question in Q&A
Discussion options

You must be logged in to vote

Within compose would be more common. In most code you'll find that a compose method simply yields the widgets into the DOM, and then they are queried back when they're needed. See this dialog in one of my own applications, for example.

Note by the way in your example code that you're calling buildWidgets twice, which means you're going to be building one set and then never using them, instead using the subsequently-built set.

You should find that the tutorial introduces these ideas, and the guide goes on to build upon them. In particular the guide to App basics, and especially it's introduction of widgets and how to compose them should contain some useful background.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@UlrichGoebel
Comment options

@davep
Comment options

Answer selected by UlrichGoebel
@UlrichGoebel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants