SelectString
Introduction
Function signature
SelectString(
values=["cat", "dog","horse", "sheep", "squirrel"],
labels=None,
filterable=False,
placeholder="select",
size=None,
multiple=False,
widget_id=None,
)
Parameters
Parameters
Type
Description
values

labels

filterable

placeholder

size

multiple

items_right_text

items_links

widget_id
Methods and attributes
Attributes and Methods
Description
Mini App Example
Import libraries
Init API client
Get Dataset ID from environment variables
Get images infos from current dataset
Create Image widget we will use in UI in this tutorial for demo
Image widget we will use in UI in this tutorial for demoInitialize SelectString widget
SelectString widgetCreate app layout
Create app using layout
Add functions to control widget from code

Last updated