PopupPicker
Install

Install

other props are the same as Picker


API

Props

nametypedefaultdescriptionrequired version
valuearraypicker value, use v-model for binding--
titlestringlabel text--
cancel-textstringpopup cancel text--
confirm-textstringpopup confirm text--
placeholderstringplaceholder--
show-namebooleanfalseif show names instead of keys--
inline-descstringdescription text below label--
showbooleanpopup show (supports the .sync modifier next)--
value-text-alignstringrightvalue's text alignv2.1.0-rc.3
display-formatfunctionused to format display text on cell, param: (currentValue)v2.1.1-rc.7
popup-styleobjectpopup stylev2.5.2
popup-titlestringpopup titlev2.7.0
disabledbooleanfalsewhether disable selectingv2.9.0

Events

nameparamsdescriptionrequired version
@on-change(value)emits when value is changed--
@on-show--emits when popup shows--
@on-hide(closeType) true表示confirm(选择确认), false表示其他情况的关闭emits when popup is closed--
@on-shadow-change(Array ids, Array names)emits when picker value is changedv2.5.6

Slots

namedescriptionrequired version
titletitle slot, use scope.labelClass and scope.labelStyle to inherit label stylesv2.3.7


Contributors

Contributors

Total commits quantity: 69,Total contributors quantity: 4

unclayairyland万刚wg

Changelog

Releases

  • v2.9.0 [feature] add prop:disabled #2594
  • v2.7.7 [fix] remove the first top line #2371
  • v2.7.0 [feature] add prop:popup-title(use component:popup-header) #1866
  • v2.5.10 [feature] support @cell-value-color #1874
  • v2.5.8 [fix] prevent background scrolling when popup is show #1830
  • v2.5.7 [fix] Fix render issue after changing value #1793
  • v2.5.6 [feature] Support event:on-shadow-change #1778
  • v2.5.3 [fix] Fix label style being overwrite after importing x-textarea #1696
  • v2.5.2 [feature] Add prop:popup-style #1656
  • v2.4.1 [fix] popup-picker-header add touchmove.prevent event #1596
  • v2.3.8 [fix] Fix placeholder missing on iOS9 and iOS8 #1293
  • v2.3.7 [feature] Add slot:title
  • v2.2.1-rc.7 [fix] Fix popup-picker filter issue on v2.2.1-rc.6
  • v2.2.1-rc.6 [enhance] Add param names for display-format
  • v2.2.1-rc.1 [fix] Fix wrong closeType #1209
  • v2.1.1-rc.13 [enhance] Use gray for cancel text color
  • v2.1.1-rc.11 [enhance] Fix mask render slowly in Safari. #1083 @sixiakun
  • v2.1.1-rc.11 [enhance] Enable transfer-dom by default
  • v2.1.1-rc.8 [enhance] Update header style and add less variables
  • v2.1.1-rc.7 [enhance] Support PC mouse drag #1039 @michael829
  • v2.1.1-rc.7 [enhance] Support prop:display-format
  • v2.1.1-rc.1 [fix] Fix labelMarginRight #977 @wg5945
  • v2.1.0-rc.50 [fix] Fix no on-change emits #934 @howyhuang