mo.ui.batch
Combine multiple UI elements into a single object.Overview
Batch allows you to group UI elements created with markdown or HTML and access their values as a dictionary.Usage
Examples
With Forms
Combinebatch() with form() to create submittable forms:
Return Value
- When created from markdown with
.batch(): returns list of values - When created with
mo.ui.batch(html, dict): returns dictionary of values
Related
Form
Create submittable forms
Dictionary
Create dictionaries of UI elements