zero.appdocs

Select

Presentations v1.0 zero-schema

A model-bound option picker. Tap to open the list of choices; the selection binds to the model key in Name.

Required fields

PresentationType Name

Properties

PresentationType string required
A model-bound option picker: tap to open the list of choices, pick one, and the selection binds to the model key in Name.
Allowed Select
Name string required
A string that represents the name or label of the select widget.
Default "Undefined"
Key string optional
A string that serves as a unique identifier for the select widget.
Url string optional
A string representing a URL associated with the select widget
Title string optional
A string used as the title or heading for the select widget.
Value string optional
A string representing the selected value of the select widget.
Values array, object optional
Options to choose from. Accepts an id-to-label object ({"tools": "Tools"}), a list of scalars, or a list of objects addressed by the Key and Title props.
FontSize number, object optional
A number representing the font size of the text displayed in the select widget. Accepts a responsive value map ({"sm": …, "md": …, "lg": …}).
Default 15
OnChange composed optional
An object that specifies actions to be performed when the selected value in the select widget changes.
IsExpanded boolean optional
A boolean value indicating whether the select widget should be expanded or collapsed by default.
Default true
IsRequired boolean optional
A boolean value indicating whether the select widget is required to have a value selected.
Default false
DisplayText string optional
A string used to display additional text or information in the select widget.
InitialValue string optional
A string representing the initial value selected in the select widget.
BorderRadius number, object optional
A number representing the border radius of the select widget. Accepts a responsive value map ({"sm": …, "md": …, "lg": …}).
Default 0

Referenced contracts