Placeholder
Read-only copy inside the form — tips, computed summaries, gentle reminders.
Standalone
Section titled “Standalone”from almasix.orbit.forms import Form, Placeholder
form = Form.make("demo").schema([ Placeholder.make("hint") .content("Slugs can’t change after publish.")])In a Resource
Section titled “In a Resource”from almasix.orbit import Resourcefrom almasix.orbit.forms import Form, Placeholder
class PostResource(Resource): @classmethod def form(cls, form: Form) -> Form: return form.schema([ Placeholder.make("stats") .content("Word count updates after save.") .label("Stats"), ])Key methods
Section titled “Key methods”.content(text) — static HTML-escaped bodyNot dehydrated by default (_dehydrated = False).label(...) optional; body can fall back to state.visible(...)
Closures work on .label(), .helper_text(), .placeholder(), .visible(), .disabled(), and .required() — see Form closures.
Preview
Section titled “Preview”
