antd-crud-table API
    Preparing search index...

    Function evaluateRules

    • Evaluate the resolved rules for one value, returning the first failure message or null. Supports the rule shapes the registry and formConfig produce: required, type: 'email' | 'url', pattern, len/min/max, and custom async validators (which is how the json type validates).

      Parameters

      • rules: Rule[] | undefined
      • value: unknown
      • label: string

      Returns Promise<string | null>