FieldElementProps

Type that defines the element properties of a field.

Definition

  • FieldElementProps object

Explanation

The properties must be passed to an HTML <input />, <textarea /> or <select /> element. It is intended to use the spread syntax for this.

<input {...props} type="text" />