Interface CustomFormFieldConfig

interface CustomFormFieldConfig {
    disabled?: boolean;
    fieldId: string;
    fieldType: "text" | "checkbox" | "date" | "radio" | "select" | "dateYm";
    hidden?: boolean;
    options?: string[];
    requireIfOptional?: boolean;
    required?: boolean;
    showPlaceholderAndHideLabel?: boolean;
    validate: ((value) => string);
}

Hierarchy (view full)

Properties

disabled?: boolean
fieldId: string
fieldType: "text" | "checkbox" | "date" | "radio" | "select" | "dateYm"
hidden?: boolean
options?: string[]
requireIfOptional?: boolean
required?: boolean
showPlaceholderAndHideLabel?: boolean
validate: ((value) => string)

Type declaration

    • (value): string
    • Parameters

      • value: string | boolean

      Returns string