Skip to content

Picker

A bottom sheet with scrollable columns: single, multi, date, and time.

Examples

CityBeijing ›
DateTap to choose ›
TimeTap to choose ›

Picker

Tap the row to open the panel

API

Props

属性说明类型默认值
modePicker typeselector | multi | date | timeselector
rangeOptions as a JSON stringstring (json)[]
valueCurrent selectionstring-
startStart of valid range (date mode)string-
endEnd of valid range (date mode)string-
disabledWhether disabledbooleanfalse

Events

属性说明类型默认值
changeFired when a value is confirmed{ value }-
cancelFired when the picker is cancelled--

MiniDev Studio — Mini-app Development Toolkit