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
blockedBy[]
blocking[]
closedAtJan 14, 2026, 1:51 AM

Create Fragment Example App (Form Grouping)

Closed v11.21.0 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 added the documentation label on Jan 13, 2026, 8:49 PM
tobiu added the enhancement label on Jan 13, 2026, 8:49 PM
tobiu added the ai label on Jan 13, 2026, 8:49 PM
tobiu added parent issue #8601 on Jan 13, 2026, 8:50 PM
tobiu assigned to @tobiu on Jan 13, 2026, 8:59 PM
tobiu cross-referenced by #8625 on Jan 14, 2026, 1:15 AM
tobiu referenced in commit 16f0ac6 - "feat(Example): Add Fragment container example app (#8616)" on Jan 14, 2026, 1:51 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.

tobiu closed this issue on Jan 14, 2026, 1:51 AM