Skip to content

Sections, repeating groups, wizards, cascading and conditional inputs #6

Closed

Description

@n4ff4h

Structural features for both the builder and the renderer, built on stencil's layout and conditional props.

Activity

  1. added
    next-genNext-gen Javaabu packages
    featurePackage feature from the spec
    on Nov 4, 2026
  2. n4ff4h commented on Nov 5, 2026

    @n4ff4h
    CollaboratorAuthor

    Done. Everything compiles to stencil, so it works the same in Blade and React and is checked on the server:

    • Sections and wizards. Sections become stencil Section; with the wizard layout they become Wizard/Step.
    • Conditions. in, not_in, checked and not_checked on sections and fields (AND), compiled to stencil's declarative conditions.
    • Cascading selects. They use @javaabu/forms' select2 cascade, fed by an options endpoint on both route groups, or by any URL. The server checks that the value belongs to the parent's value.
    • Repeating groups. This is the Javaabu\FormBuilder\Stencil\Repeater stencil field. It handles per-row rules, attributes, conditions on siblings and dehydration, and renders with a Blade view plus script and a React component. Upstreaming is proposed in Proposal: a Repeater field (repeating groups), implemented in javaabu/form-builder stencil#18 (not blocking).

    Docs: docs/basic-usage/structure.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurePackage feature from the specnext-genNext-gen Javaabu packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions