Hidden
State without chrome — IDs, tokens, and secrets the UI shouldn’t stare at.
Standalone
Section titled “Standalone”from almasix.orbit.forms import Form, Hidden
form = Form.make("demo").schema([ Hidden.make("tenant_id").default("acme")])In a Resource
Section titled “In a Resource”from almasix.orbit import Resourcefrom almasix.orbit.forms import Form, Hidden
class PostResource(Resource): @classmethod def form(cls, form: Form) -> Form: return form.schema([ Hidden.make("id"), Hidden.make("version").default(1), ])Key methods
Section titled “Key methods”.default(...).state_path(...) when the key differs from the name.dehydrated(False) to keep it out of payloadsNo label / helper rendering
Closures work on .label(), .helper_text(), .placeholder(), .visible(), .disabled(), and .required() — see Form closures.
Preview
Section titled “Preview”
