@resistdesign/voltra
    Preparing search index...

    Type Alias FormFieldController

    Controller metadata for a single field instance.

    type FormFieldController = {
        constraints?: FieldConstraints;
        disabled: boolean;
        error?: string;
        field: TypeInfoField;
        format?: string;
        hidden: boolean;
        key: string;
        label: string;
        onChange: (value: FormValue) => void;
        primary: boolean;
        required: boolean;
        value: FormValue | undefined;
    }
    Index

    Properties

    constraints?: FieldConstraints

    Optional validation and UI constraints.

    disabled: boolean

    True when the field UI should be disabled.

    error?: string

    Optional error message for the field.

    Field metadata from the type info.

    format?: string

    Optional format hint for the field.

    hidden: boolean

    True when the field should be hidden from view.

    key: string

    Field key as defined in the TypeInfo map.

    label: string

    Display label for the field.

    onChange: (value: FormValue) => void

    Change handler for the field value.

    primary: boolean

    True when the field is the primary identifier.

    required: boolean

    True when the field must be provided.

    value: FormValue | undefined

    Current value for the field.