Hi, been having a break from major coding, partly to recharge and partly because life has been getting in the way.
But I managed to put in a spell this weekend, still working towards a v6.5.0 release (which will become v7 with a new minimal node.js version if Node-RED manages to get its release through the door!)
As always, you can follow along by installing from GitHub using the
uib-element zero-code node:
- Added a passthrough option. This will pass the
msg.payloadwhich is normally removed by this node. The client library also updated so that an input msg with both msg._ui and msg.payload properties will trigger
onChangeprocessing to allow you to do further processing in front-end code if you wish to. You can, of course also manually add a msg.payload separately if you want to.
- Added support for textarea and select (drop-downs) inputs.
- Fixed the return values for checkboxes.
For the uibuilder client library:
- A new
uibuilder.notifyfunction. This uses the browser
NotificationAPI to utilise operating system notifications (AKA "Toasts"). The function also has an option that lets you link to the
eventSendfunction to allow some user interaction to be reported back to Node-RED with a single line of code.
- Improvements to the
eventSendfunction allowing for checkboxes and adding input field types to the returned details.
- The CSS now has a minified version which you should use in your code.
- A whole bunch more CSS variables added to allow you more control.
And the usual bug-fixes and documentation improvements.
As always, the full list of changes is in the CHANGELOG.md file.