Wraps a form control with a label, helper text and an error message. The control receives id, aria-describedby, aria-invalid and required automatically; don't set its id yourself.
id
aria-describedby
aria-invalid
required
<Field label="Email" description="We never share it." error={errors.email} required> <Input type="email" /></Field> Copy
<Field label="Email" description="We never share it." error={errors.email} required> <Input type="email" /></Field>
Wraps a form control with a label, helper text and an error message. The control receives
id,aria-describedby,aria-invalidandrequiredautomatically; don't set itsidyourself.