Formwright
    Preparing search index...

    Interface FieldSignature<M, P, C, S>

    interface FieldSignature<
        M extends object = object,
        P extends Path<M> = Path<M>,
        C = string | ControlComponent,
        S extends boolean = boolean,
    > {
        Args: FieldArgs<M, P, C, S> & { form: Form<M> };
        Blocks: {
            default: [
                FieldBlockParams<PathValue<M, P>, BoundControlFor<PathValue<M, P>, C>>,
            ];
        };
        Element: HTMLDivElement;
    }

    Type Parameters

    Index
    Args: FieldArgs<M, P, C, S> & { form: Form<M> }

    Type Declaration

    • form: Form<M>

      Set by f.Field; don't pass it yourself.

    Blocks: {
        default: [
            FieldBlockParams<PathValue<M, P>, BoundControlFor<PathValue<M, P>, C>>,
        ];
    }

    Type Declaration

    Element: HTMLDivElement