LearnNewsExamplesServices
Frontmatter
id1703
titlecontainer.Base: insert() => trigger model.resolveBindings(item) if needed
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 1, 2021, 2:11 PM
updatedAtApr 1, 2021, 2:20 PM
githubUrlhttps://github.com/neomjs/neo/issues/1703
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 1, 2021, 2:20 PM

container.Base: insert() => trigger model.resolveBindings(item) if needed

Closed v8.1.0 enhancement
tobiu
tobiu commented on Apr 1, 2021, 2:11 PM

in case the item has no own model, but parent model(s), we need to trigger resolveBindings() on the closest parent model after the Neo.create() call.

at this point, the item is already fully constructed, so we don't need a listener on the constructed event.

tobiu added the enhancement label on Apr 1, 2021, 2:11 PM
tobiu assigned to @tobiu on Apr 1, 2021, 2:11 PM
tobiu referenced in commit 7f800d1 - "container.Base: insert() => trigger model.resolveBindings(item) if needed #1703" on Apr 1, 2021, 2:12 PM
tobiu closed this issue on Apr 1, 2021, 2:20 PM