Hex Core JS
    Preparing search index...

    Type Alias FieldElseProps<FV>

    FieldElseProps: { condition?: boolean } & (
        | { name: keyof FV; names?: never }
        | { name?: never; names: (keyof FV)[] }
    ) & Omit<FieldIfProps<FV>, "condition" | "name" | "names">

    Type Parameters

    Type Declaration

    • Optionalcondition?: boolean

      The condition to check. Should not be supplied: only exposed for use in the <FieldConditional> component.

    • { name: keyof FV; names?: never }
      • name: keyof FV

        The name of the field that is conditionally rendered.

      • Optionalnames?: never
    • { name?: never; names: (keyof FV)[] }
      • Optionalname?: never
      • names: (keyof FV)[]

        The names of the fields that are conditionally rendered.