Components
SelectBox
Below are the various attributes you can assign to the component. Utilizing them can allow for modifications to the pre-created object.
zero_true.SelectBox
Zero True Component
Example Usage
import zero_true as zt
sample_selectbox = zt.SelectBox(
id = 'sample_selectbox', # Unique id for a component
items = [], # Options for the select box. Can be a list of strings or integers
value = [], # Selected options for the select box
label = '', # Label for the select box
multiple = False, # Determines if multiple selections are allowed
outlined = False, # Determines if the select box has an outlined style
clearable = False, # Determines if the select box has a clearable option
disabled = False, # Determines if the select box is disabled
readonly = False, # Determines if the select box is read-only
color = 'primary', # Color of the range slider. Can be custom or standard Material color
)