uxcore-select2
Advanced tools
Comparing version 0.4.12 to 0.4.13
@@ -131,3 +131,3 @@ const React = require('react'); | ||
<p>多选:</p> | ||
<Select disabled multiple style={{ width: 400 }} defaultValue={['a10', 'c12']} placeholder="输入" onChange={me.handleChange.bind(me)} allowClear> | ||
<Select multiple style={{ width: 400 }} defaultValue={['a10', 'c12']} placeholder="输入" onChange={me.handleChange.bind(me)} allowClear> | ||
{children} | ||
@@ -134,0 +134,0 @@ </Select> |
@@ -5,2 +5,6 @@ # History | ||
## 0.4.13 | ||
`CHNAGED` update `rc-select` to ~6.8.0 | ||
## 0.4.10 | ||
@@ -7,0 +11,0 @@ |
{ | ||
"name": "uxcore-select2", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"description": "select ui component for react", | ||
@@ -33,4 +33,6 @@ "main": "build/index.js", | ||
"console-polyfill": "^0.2.2", | ||
"enzyme": "^2.7.0", | ||
"es5-shim": "^4.5.8", | ||
"expect.js": "~0.3.1", | ||
"jquery": "^1.12.4", | ||
"kuma-base": "1.x", | ||
@@ -41,3 +43,2 @@ "react": "0.14.x", | ||
"uxcore-kuma": "*", | ||
"enzyme": "^2.7.0", | ||
"uxcore-tools": "0.2.x" | ||
@@ -48,3 +49,3 @@ }, | ||
"object-assign": "^4.0.0", | ||
"rc-select": "~6.4.0" | ||
"rc-select": "~6.8.0" | ||
}, | ||
@@ -51,0 +52,0 @@ "author": "", |
@@ -41,5 +41,6 @@ --- | ||
|tags | 可以把随意输入的条目作为tag,输入项不需要与下拉选项匹配 | | false | | ||
|onSelect | 被选中时调用,参数为选中的option value值 | function | 无 | | ||
|onDeselect | 取消选中时调用,参数为选中的option value值,仅在multiple或tags模式下生效 | function | 无 | | ||
|onSelect | 被选中时调用,参数为选中的option value值 | function(value, option:Option) | 无 | | ||
|onDeselect | 取消选中时调用,参数为选中的option value值,仅在multiple或tags模式下生效 | function(value) | 无 | | ||
|onChange | 选中option,或input的value变化(combobox模式下)时,调用此函数 | function | 无 | | ||
|onSearch | 搜索框值发生变化时调用 | function(key) | noop | | ||
|allowClear | 显示清除按钮 | | false | | ||
@@ -64,2 +65,3 @@ |placeholder | 选择框默认文字 | string | 无 | | ||
|value | 默认根据此属性值进行筛选 | String | - | | ||
|title | 如果你不满意自动生成的 title,你可以用这个 prop 来修改 | String | - | | ||
@@ -66,0 +68,0 @@ ### OptGroup props |
Sorry, the diff of this file is not supported yet
80443
71
11
+ Addedrc-menu@5.1.4(transitive)
+ Addedrc-select@6.8.11(transitive)
- Removedlodash._getnative@3.9.1(transitive)
- Removedlodash.isarguments@3.1.0(transitive)
- Removedlodash.isarray@3.0.4(transitive)
- Removedlodash.keys@3.1.2(transitive)
- Removedrc-menu@4.13.0(transitive)
- Removedrc-select@6.4.8(transitive)
- Removedrc-util@3.4.1(transitive)
- Removedshallowequal@0.2.2(transitive)
Updatedrc-select@~6.8.0