Textarea
Multi-line text for bodies, notes, and anything taller than one thought.
Standalone
Section titled “Standalone”from almasix.orbit.forms import Form, Textarea
form = Form.make("demo").schema([ Textarea.make("body") .label("Body") .rows(8) .placeholder("Write something memorable…")])In a Resource
Section titled “In a Resource”from almasix.orbit import Resourcefrom almasix.orbit.forms import Form, Textarea
class PostResource(Resource): @classmethod def form(cls, form: Form) -> Form: return form.schema([ Textarea.make("body").rows(10).required(), Textarea.make("excerpt").rows(3).helper_text("Optional teaser"), ])Key methods
Section titled “Key methods”.rows(n) — defaults to 4 when unset.label(...) / .helper_text(...) / .required(...).readonly() / .disabled(...) / .visible(...) / .live().default(...) / .dehydrated(...)
Closures work on .label(), .helper_text(), .placeholder(), .visible(), .disabled(), and .required() — see Form closures.
Preview
Section titled “Preview”
