ui.select
Select
A styled dropdown for short lists: one value or several, custom option bodies, and a value the rest of the page can follow.Pick one
Options are plain strings, or (value, label) pairs when what you store is not what you show.A disabled option
An option as a dict can carry disabled=True: it stays visible, but cannot be picked.Enterprise is set up with our team.
Several values
multiple=True shows the picks as pills; bulk_actions adds Select all and Clear to the panel.+1
Custom option bodies
render= draws the inside of each option — here a coloured badge per priority.Filter a list
The select writes a ClientState and each row shows or hides itself in the browser. Give on_change a Python function to filter on the server instead.Invoices
INV-2041Northwind Traders
€4,280.00Paid
INV-2040Lumen Studio
€1,150.00Pending
INV-2039Atlas Freight
€9,600.00Overdue
INV-2038Kinfolk & Co
€720.00Paid
INV-2037Harbor Health
€2,310.00Pending