LearnNewsExamplesServices
Frontmatter
id8616
titleCreate Fragment Example App (Form Grouping)
stateClosed
labels
documentationenhancementai
assigneestobiu
createdAtJan 13, 2026, 8:49 PM
updatedAtJan 14, 2026, 1:51 AM
githubUrlhttps://github.com/neomjs/neo/issues/8616
authortobiu
commentsCount1
parentIssue8601
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJan 14, 2026, 1:51 AM

Create Fragment Example App (Form Grouping)

Closed v11.21.0/archive-v11-21-0-chunk-1 documentationenhancementai
tobiu
tobiu commented on Jan 13, 2026, 8:49 PM

Create a working example demonstrating Neo.container.Fragment usage. Scenario:

  • A Form container using VBox layout.
  • Use Fragment to group related fields (e.g., "Address" fields) without introducing a wrapper <div>.
  • Toggle visibility of the Fragment (showing/hiding multiple fields at once).
  • Move fields in/out of the Fragment dynamically to verify lifecycle.
tobiu cross-referenced by #8625 on Jan 14, 2026, 1:15 AM
tobiu
tobiu Jan 14, 2026, 1:51 AM

Input from Gemini 3 Pro:

✦ I have created the Fragment example app (examples/container/fragment) to demonstrate:

  • Grouping fields without a wrapper DOM node.
  • Toggling Fragment visibility (which now works thanks to the fix in #8627).
  • Moving fields in and out of the Fragment (demonstrating the atomic move capability).

I also implemented a mitigation in the example to disable buttons after use to prevent the "same-index insert" bug (though that engine bug is now also fixed in #8626).

Changes committed and pushed.