Key-value
Arbitrary key/value rows — metadata bags without inventing columns.
Standalone
Section titled “Standalone”from almasix.orbit.forms import Form, KeyValue
form = Form.make("demo").schema([ KeyValue.make("meta").label("Metadata")])In a Resource
Section titled “In a Resource”from almasix.orbit import Resourcefrom almasix.orbit.forms import Form, KeyValue
class PostResource(Resource): @classmethod def form(cls, form: Form) -> Form: return form.schema([ KeyValue.make("headers").helper_text("Custom response headers"), KeyValue.make("meta").default({"env": "prod"}), ])Key methods
Section titled “Key methods”.label(...) / .helper_text(...).default({...}) for seed rows.disabled(...) / .visible(...)UI exposes Add row viawire:click=“addKeyValueRow(…)”``
Closures work on .label(), .helper_text(), .placeholder(), .visible(), .disabled(), and .required() — see Form closures.
Preview
Section titled “Preview”
