Skip to content

Table select

Select that hints at a tabular picker — still options under the hood.

from almasix.orbit.forms import Form, TableSelect
form = Form.make("demo").schema([
TableSelect.make("post_id")
.options({"1": "Shipping Orbit docs", "2": "Panel brand colors"})
.searchable()
])
from almasix.orbit import Resource
from almasix.orbit.forms import Form, TableSelect
class PostResource(Resource):
@classmethod
def form(cls, form: Form) -> Form:
return form.schema([
TableSelect.make("user_id")
.options(lambda **ctx: ctx.get("users", {}))
.required(),
])
  • Inherits Select
  • Adds or-select-table``
  • .options(...) / .searchable() / .required()
  • .disabled(...) / .visible(...)

Closures work on .label(), .helper_text(), .placeholder(), .visible(), .disabled(), and .required() — see Form closures.

Orbit form example (light)

Orbit form example (dark)