New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

uxcore-select2

Package Overview
Dependencies
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uxcore-select2 - npm Package Compare versions

Comparing version 0.4.12 to 0.4.13

2

demo/Select2Demo.jsx

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc