Skip to content

Widget disappears when removed and mounted again #1445

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

You must be logged in to vote

To the best of my knowledge, when you remove a widget you're, in effect, destroying it (for want of a better term). Once you remove a particular instance you can't mont it again. If you want to add a button again you'll want to mount a fresh instance of MyWidget.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@willmcgugan
Comment options

@davep
Comment options

@davidbrochart
Comment options

@willmcgugan
Comment options

@davidbrochart
Comment options

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