Modal table select
Readonly display + Browse button that mounts a table picker modal.
Standalone
Section titled “Standalone”from almasix.orbit.forms import Form, ModalTableSelect
form = Form.make("demo").schema([ ModalTableSelect.make("post_id").label("Post")])In a Resource
Section titled “In a Resource”from almasix.orbit import Resourcefrom almasix.orbit.forms import Form, ModalTableSelect
class PostResource(Resource): @classmethod def form(cls, form: Form) -> Form: return form.schema([ ModalTableSelect.make("assignee_id") .label("Assignee") .required(), ])Key methods
Section titled “Key methods”.label(...) / .required(...).disabled(...) / .visible(...)Renders readonly input + Browse (wire:click=“mountTableSelect(…)”)``State is the selected id/display value you wire in
Closures work on .label(), .helper_text(), .placeholder(), .visible(), .disabled(), and .required() — see Form closures.
Preview
Section titled “Preview”
