Hex Core JS
    Preparing search index...

    Type Alias BaseFieldProps<FV>

    Generic props used for any type of field.

    type BaseFieldProps<FV extends FormValues> = {
        description?: React.ReactNode;
        disabled?: boolean;
        formState: FormState<FV>;
        hint?: React.ReactNode;
        noHeader?: boolean;
        noOptional?: boolean;
        noToolbar?: boolean;
    }

    Type Parameters

    Index

    Properties

    description?: React.ReactNode

    Content to provide more context for the field to the user.

    disabled?: boolean

    Indicates if the field is currently disabled.

    formState: FormState<FV>

    The state of the form.

    hint?: React.ReactNode

    Content to provide more context for the field to the user.

    noHeader?: boolean

    Indicates if the field header (containg in the label, hint, and toolbar) should be hidden.

    noOptional?: boolean

    Indicates if the optional label should be hidden (only relevant for optional fields).

    noToolbar?: boolean

    Indicates if the field toolbar should be hidden.