From 05468eda97f21937392a31d1b9a8237605759eeb Mon Sep 17 00:00:00 2001
From: Pranava Shashank Pindi
Date: Sun, 18 Dec 2016 21:16:29 +0530
Subject: [PATCH 1/3] Modified the comparison logic to trigger the function
assigned to the attribute : on-search-change when the min-search-length
criteria is met
---
isteven-multi-select.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/isteven-multi-select.js b/isteven-multi-select.js
index b5d3465..0002528 100644
--- a/isteven-multi-select.js
+++ b/isteven-multi-select.js
@@ -3,7 +3,7 @@
* Creates a dropdown-like button with checkboxes.
*
* Project started on: Tue, 14 Jan 2014 - 5:18:02 PM
- * Current version: 4.0.0
+ * Current version: 4.0.1
*
* Released under the MIT License
* --------------------------------------------------------------------------------
@@ -196,7 +196,7 @@ angular.module( 'isteven-multi-select', ['ng'] ).directive( 'istevenMultiSelect'
$scope.getFormElements();
// Callback: on filter change
- if ( $scope.inputLabel.labelFilter.length > vMinSearchLength ) {
+ if ( $scope.inputLabel.labelFilter.length >= vMinSearchLength ) {
var filterObj = [];
@@ -474,7 +474,7 @@ angular.module( 'isteven-multi-select', ['ng'] ).directive( 'istevenMultiSelect'
outputProps = [],
tempObj = {};
- // v4.0.0
+ // v4.0.1
if ( typeof attrs.outputProperties !== 'undefined' ) {
outputProps = attrs.outputProperties.split(' ');
angular.forEach( $scope.inputModel, function( value, key ) {
From 5045a2cc240b54dfcfb8e9f881d4e1bdbab3139e Mon Sep 17 00:00:00 2001
From: Pranava Shashank Pindi
Date: Sun, 18 Dec 2016 21:23:51 +0530
Subject: [PATCH 2/3] Version number changes
---
CHANGELOG.md | 2 +-
README.md | 2 +-
bower.json | 2 +-
doc/views/configs-options.htm | 2 +-
package.json | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 886337f..810439b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-### v4.0.0
+### v4.0.1
##### Added / Updated
- You can now customize output-model properties that you need, instead of having all data.
- #201 (and other related issues) DOM bug is now fixed.
diff --git a/README.md b/README.md
index 057c005..382634f 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ Doesn't require jQuery and works well with other Javascript libraries.
Go to http://isteven.github.io/angular-multi-select
### Current Version
-4.0.0
+4.0.1
### Change Log
See CHANGELOG.md.
diff --git a/bower.json b/bower.json
index 5f1495f..50f4e8b 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name" : "isteven-angular-multiselect",
- "version" : "v4.0.0",
+ "version" : "v4.0.1",
"main" : [
"isteven-multi-select.js",
"isteven-multi-select.css"
diff --git a/doc/views/configs-options.htm b/doc/views/configs-options.htm
index 73b38a7..1aa8a3b 100644
--- a/doc/views/configs-options.htm
+++ b/doc/views/configs-options.htm
@@ -370,7 +370,7 @@ on-search-change
Example: <div isteven-multi-select ... on-filter-change="funcFilterChange( data )"></div>
.
- output-properties
New! v4.0.0
+ output-properties
New! v4.0.1
Set what model properties you want to have in your output-model
diff --git a/package.json b/package.json
index 50fac9a..c795fd0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "isteven-angular-multiselect",
- "version": "v4.0.0",
+ "version": "v4.0.1",
"description": "A multi select dropdown directive for AngularJS",
"main": [
"isteven-multi-select.js",
From e339ac2879464eb8bb8dc99d397b0a8cddf7d7ad Mon Sep 17 00:00:00 2001
From: Pranava Shashank Pindi
Date: Sun, 18 Dec 2016 21:24:38 +0530
Subject: [PATCH 3/3] applying the change from commit
"05468eda97f21937392a31d1b9a8237605759eeb" to
doc/js/lib/isteven-multi-select.js
---
doc/js/libs/isteven-multi-select.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/js/libs/isteven-multi-select.js b/doc/js/libs/isteven-multi-select.js
index b5d3465..0002528 100644
--- a/doc/js/libs/isteven-multi-select.js
+++ b/doc/js/libs/isteven-multi-select.js
@@ -3,7 +3,7 @@
* Creates a dropdown-like button with checkboxes.
*
* Project started on: Tue, 14 Jan 2014 - 5:18:02 PM
- * Current version: 4.0.0
+ * Current version: 4.0.1
*
* Released under the MIT License
* --------------------------------------------------------------------------------
@@ -196,7 +196,7 @@ angular.module( 'isteven-multi-select', ['ng'] ).directive( 'istevenMultiSelect'
$scope.getFormElements();
// Callback: on filter change
- if ( $scope.inputLabel.labelFilter.length > vMinSearchLength ) {
+ if ( $scope.inputLabel.labelFilter.length >= vMinSearchLength ) {
var filterObj = [];
@@ -474,7 +474,7 @@ angular.module( 'isteven-multi-select', ['ng'] ).directive( 'istevenMultiSelect'
outputProps = [],
tempObj = {};
- // v4.0.0
+ // v4.0.1
if ( typeof attrs.outputProperties !== 'undefined' ) {
outputProps = attrs.outputProperties.split(' ');
angular.forEach( $scope.inputModel, function( value, key ) {