Skip to content

Commit 4467c56

Browse files
author
Dave Conway-Jones
committed
Fix multiselect dropdown to honour search when selecting all
to Close #747 Bump for release 3.1.4
1 parent e22f6e9 commit 4467c56

File tree

6 files changed

+17
-9
lines changed

6 files changed

+17
-9
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11

2+
### 3.1.4: Maintenance Release
3+
4+
**Fixes**
5+
6+
- Fix colorpicker swatch overlapping colorpicker dial. Issue #746
7+
- Let multiselect dropdown "select all" only select those in search. Issue #747
8+
29
### 3.1.3: Maintenance Release
310

411
**Fixes**

dist/css/app.min.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32647,9 +32647,9 @@ reason: https://github.com/angular/material/issues/6214
3264732647
display: flex;
3264832648
}
3264932649

32650-
color-picker-wrapper {
32651-
z-index: 2;
32652-
}
32650+
/* color-picker {
32651+
z-index:2;
32652+
} */
3265332653
.nr-dashboard-date-picker {
3265432654
padding: 0 0px;
3265532655
width: 100%;

dist/dashboard.appcache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Time: Fri Jan 14 2022 10:01:28 GMT+0000 (Greenwich Mean Time)
2+
# Time: Fri Jan 14 2022 11:05:25 GMT+0000 (Greenwich Mean Time)
33

44
CACHE:
55
i18n.js
@@ -26,4 +26,4 @@ loading.html
2626
NETWORK:
2727
*
2828

29-
# hash: b145988552b1632880095f4a2cd7d0039a8141a687da8599055494d9287cd4b9
29+
# hash: 3df44f9c1e63b4f8a9a0de0a11d7290f648050cbeca730a172168d93b3a12eb5

dist/js/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-dashboard",
3-
"version": "3.1.3",
3+
"version": "3.1.4",
44
"description": "A set of dashboard nodes for Node-RED",
55
"keywords": [
66
"node-red"
@@ -88,7 +88,7 @@
8888
"compression": "^1.7.4",
8989
"gridstack": "^0.6.4",
9090
"serve-static": "^1.14.2",
91-
"socket.io": "~4.4.0"
91+
"socket.io": "~4.4.1"
9292
},
9393
"devDependencies": {
9494
"angular": "~1.8.2",
@@ -127,7 +127,7 @@
127127
"gulp-uglify": "~3.0.2",
128128
"gulp-util": "^3.0.8",
129129
"jquery": "^3.6.0",
130-
"jshint": "~2.13.1",
130+
"jshint": "~2.13.3",
131131
"justgage": "~1.4.3",
132132
"less": "^3.13.1",
133133
"material-design-icons-iconfont": "~6.1.1",

src/components/ui-component/ui-component-ctrl.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ angular.module('ui').controller('uiComponentController', ['$scope', 'UiEvents',
8181

8282
me.checkAll = function () {
8383
me.item.value = me.selectAll ? me.item.options.map(function(o) {return o.value}) : []
84+
me.item.value = me.item.value.filter(function(o) { return o.includes(me.searchTerm)} );
8485
me.valueChanged(0);
8586
}
8687

0 commit comments

Comments
 (0)