Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

Should Field be renderable outside of Form? #124

Description

@DovydasNavickas

I was implementing proper Field behavior when rendered/removed from FieldsArray (mounting/unmounting, to be precise) and noticed that Field cannot be rendered outside of Form.

But if I'm correct, it's as easy as adding formId prop and updating FormId getter to take that into account, not just context.FormId.

This is what BaseContainer does, inherently BaseFormButton does and Form itself does. Maybe setting formId would enable some scenarios that we didn't yet encounter?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions