API
Props
name | type | default | description | required version |
value | string number object | form value, use v-model for binding | -- | |
title | string | label text | -- | |
direction | string | align value | -- | |
options | array | option list, ['one', 'two'] or [{ key: KEY, value: VALUE }] | -- | |
name | string | form name | -- | |
placeholder | string | placeholder | -- | |
readonly | boolean | false | if the select is readonly | -- |
value-map | array | set a [value, label] pair for automatically transforming API data | v2.7.2 |
Events
name | params | description | required version |
@on-change | (value) | emits when value is changed | -- |
Functions
name | params | description | required version |
getFullValue | get full value including all the props(if option items are object) | v2.7.2 |
Contributors
Contributors
Total commits quantity: 35,Total contributors quantity: 6
unclayairylandemondora万刚lichunqianggreedyingChangelog
Releases
- next [fix] fix the chinese bracket show error when direction=rtl #2864
- v2.9.0 [fix] avoid newer-version-vue select value issue #2633 #2587
- v2.9.0 [enhance] use v-html for title #2615
- v2.7.2 [feature] add prop:value-map for automatically transform API data #2139
- v2.7.2 [feature] add method:getFullValue for getting full value
- v2.7.0 [fix] fix ssr rendering issue
- v2.7.0 [fix] fix placeholder not show when value is null #2101
- v2.3.3 [enhance] set placeholder color. #1465
- v2.2.2 [fix] fix label:for missing
- v2.2.1-rc.6 [fix] fix placeholder. #1273
- v2.1.1-rc.14 [fix] fix can not set Selector name attrbiute bug #1133
- v2.1.1-rc.14 [enhance] Selector value support Boolean. @rbao