I have a ComposeableModel, which contains another ComposeableModel:
self instantiateModels: #(
flashCardModel FeFlashCardUI).
I want to refresh child and update the parent.
Before doing "self buildWithSpec",
- Replacing the child's model works: "flashCardModel model: self newFlashCard."
- But replacing the whole child doesn't work: "flashCardModel := self newFlashCardUI."
Why? What's the right way to handle this? Thanks.
Cheers,
Sean