FormErrors

Type that defines the errors of a form.

Definition

  • FormErrors { [name: string]: string }

Explanation

FormErrors is an object that contains an entry for each field or field array with an error. The key of an entry is the name of a field or a field array and the value is the error message.