field-textarea
Form The fields a person types into, in the states a real form puts them in. Each one sits in a padded rst-box, because that is the card a form goes in.
field-text's wrapper around a textarea.
Each example is live, but its links go nowhere. HTML shows the markup to copy.
Bare
Put this inside <section rst-box><form rst-form>.
<div rst-field >
<label rst-field-label for ="ta_bare" >Notes</label >
<textarea rst-textarea id ="ta_bare" name ="ta_bare" rows ="3" ></textarea >
</div >
With a hint
Put this inside <section rst-box><form rst-form>.
<div rst-field >
<label rst-field-label for ="ta_hint" >Bio</label >
<textarea rst-textarea id ="ta_hint" name ="ta_hint" rows ="3" aria-describedby ="ta_hint-hint" ></textarea >
<small rst-field-hint id ="ta_hint-hint" >Shown on your profile.</small >
</div >
With an error
Put this inside <section rst-box><form rst-form>.
<div rst-field >
<label rst-field-label for ="ta_error" >Summary</label >
<textarea rst-textarea id ="ta_error" name ="ta_error" rows ="3" aria-invalid ="true" aria-describedby ="ta_error-error" >…</textarea >
<small rst-field-error id ="ta_error-error" >A summary needs at least twenty characters.</small >
</div >
Required
Put this inside <section rst-box><form rst-form>.
<div rst-field >
<label rst-field-label for ="ta_required" >Reason for refund <span rst-field-required aria-hidden ="true" >*</span ></label >
<textarea rst-textarea id ="ta_required" name ="ta_required" rows ="3" required ></textarea >
</div >