Documentation
    Preparing search index...

    Function useDebouncedValidation

    • Validates the given value using the given validator function after a VALIDATION_DEBOUNCE_PERIOD_MS | debounce period.

      Type Parameters

      • ValueType

      Parameters

      • value: ValueType | null | undefined
      • validator: (value: ValueType) => boolean
      • OptionalonValidChange: (isValid: boolean) => void

      Returns boolean

      true if invalid feedback should be shown.