Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-filtered-multiselect

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-filtered-multiselect - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 0.3.0 - 2015-01-01
Added: double-clicking now adds the selected option to the selection.
## 0.2.0 - 2014-12-06

@@ -2,0 +6,0 @@

9

index.js

@@ -158,3 +158,7 @@ 'use strict';

_onButtonClick:function(e) {
/**
* Adds backing objects for the currently selected options to the selection
* and calls back with the new list.
*/
_addSelectedToSelection:function(e) {
var selectedOptions =

@@ -187,2 +191,3 @@ this.props.selectedOptions.concat(getItemsByProp(this.state.filteredOptions,

onChange: this._updateSelectedValues,
onDoubleClick: this._addSelectedToSelection,
disabled: props.disabled},

@@ -196,3 +201,3 @@ this.state.filteredOptions.map(function(option) {

disabled: state.selectedValues.length === 0,
onClick: this._onButtonClick},
onClick: this._addSelectedToSelection},
this.props.buttonText

@@ -199,0 +204,0 @@ )

{
"name": "react-filtered-multiselect",
"description": "Filtered multi-select React component",
"version": "0.2.0",
"version": "0.3.0",
"author": "Jonny Buchanan <jonathan.buchanan@gmail.com> (https://github.com/insin)",

@@ -6,0 +6,0 @@ "keywords": [

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