Skip to content

Extensible input types #9

Closed
Closed

Description

@n4ff4h

Developers add input types or modify existing ones (builder config UI, renderer, validation, storage).

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.

    • Writing a type. InputType covers name/icon/group, builder settings (stencil components) and their rules, localized settings, the stencil component, storage column, normalize/format/export/display, options and fields.
    • Registering and changing types. FormBuilder::registerInputType() or config adds or replaces a type. extendInputType() changes the component a type makes, and forgetInputType() removes one.
    • Tests. One test type reuses a stencil field. The other has its own stencil field, Blade view and React component built with @javaabu/forms' custom-field hooks (react-forms#23), and is tested in both stacks.

    Docs: docs/advanced-usage/custom-input-types.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