node-red / node-red-ui-nodes

Additional nodes for Node-RED Dashboard
Apache License 2.0
117 stars 81 forks source link

node-red-node-ui-table DEPRECATION WANRING - #83

Open d0d04m3 opened 2 years ago

d0d04m3 commented 2 years ago

I see this Error in start dashboard VM1777:14034 DEPRECATION WANRING - values for the select editor must now be passed into the values property of the editorParams object, not as the editorParams object select @ VM1777:14034 Filter.generateHeaderFilterElement @ VM1777:15351 Filter.initializeColumn @ VM1777:15241 Column._buildHeader @ VM1777:1541 Column @ VM1777:1359 ColumnManager._addColumn @ VM1777:452 (anonymous) @ VM1777:437 ColumnManager.setColumns @ VM1777:435 Tabulator._buildElement @ VM1777:7642 Tabulator._create @ VM1777:7520 Tabulator @ VM1777:6920 createTable @ VM1778:71 eval @ VM1778:160 $digest @ app.min.js:174 $apply @ app.min.js:177 (anonymous) @ app.min.js:589 t @ app.min.js:590 Emitter.emit @ index.js:143 emitEvent @ socket.js:276 onevent @ socket.js:263 onpacket @ socket.js:228 Emitter.emit @ index.js:143 ondecoded @ manager.js:200 Emitter.emit @ index.js:143 add @ index.js:110 ondata @ manager.js:192 Emitter.emit @ index.js:143 onPacket @ socket.js:323 Emitter.emit @ index.js:143 onPacket @ transport.js:100 onData @ transport.js:92 ws.onmessage @ websocket.js:76 Show 2 more frames and when active filter in cell if clicked see error

DEPRECATION WANRING - values for the select editor must now be passed into the values property of the editorParams object, not as the editorParams object select @ VM1777:14034 Edit.edit @ VM1777:13672 (anonymous) @ VM1777:13552

 {
                "formatterParams": {
                    "target": "_blank",
                    "allowEmpty": true,
                    "allowTruthy": true,
                    "tickElement": "<div style='background-color: black;  color:lime; width:100%'><i class='fa fa-check'></i></div>",
                    "crossElement": "<div style='background-color: black;  color:red; width:100%'><i class='fa fa-times'></i></div>"
                },
                "title": "ACK",
                "field": "ack",
                "formatter": "tickCross",
                "width": 70,
                "align": "center",
                "headerFilter": true,
                "editor": "select",
                "editorParams": {
                    "true": true,
                    "false": false,
                    "": "Clear"
                },
                "headerFilterParams": {
                    "true": true,
                    "false": false,
                    "": "Clear"
                }
            }