@vinejs/vine - v4.0.0-next.1
    Preparing search index...

    Variable fieldsConst

    fields: { "": string } = ...

    Default field name mappings for error message formatting. Maps field paths to human-readable labels that appear in error messages.

    The empty string key ('') provides a fallback name for the root data object.

    Type Declaration

    • : string

      Default name for the root data object

    // Custom field mappings
    const customFields = {
    'user.email': 'Email Address',
    'user.firstName': 'First Name',
    'user.lastName': 'Last Name',
    'billing.address': 'Billing Address'
    }

    // Field paths use dot notation for nested objects
    'user.profile.bio''Biography'
    'settings.notifications.email''Email Notifications'