Relationship repeater
Repeater aimed at related records — same nested schema, relationship-shaped intent.
Standalone
Section titled “Standalone”from almasix.orbit.forms import Form, RelationshipRepeater, TextInput, Textarea, Select
form = Form.make("demo").schema([ RelationshipRepeater.make("comments").schema([ TextInput.make("author").required(), Textarea.make("body").rows(3), ])])In a Resource
Section titled “In a Resource”from almasix.orbit import Resourcefrom almasix.orbit.forms import Form, RelationshipRepeater, TextInput, Textarea, Select
class PostResource(Resource): @classmethod def form(cls, form: Form) -> Form: return form.schema([ RelationshipRepeater.make("items").schema([ TextInput.make("sku").required(), TextInput.make("qty").integer().required(), ]), ])Key methods
Section titled “Key methods”.schema([...]).relationship(...) available via Field base when you wire titlesCSS:or-field-RelationshipRepeater``.label(...) / .visible(...)
Closures work on .label(), .helper_text(), .placeholder(), .visible(), .disabled(), and .required() — see Form closures.
Preview
Section titled “Preview”
