UNPKG

node-red-contrib-postnl

Version:

PostNL nodes for Node-RED

23 lines (22 loc) 726 B
<script type="text/javascript"> RED.nodes.registerType('postnl-config', { category: 'config', defaults: { username: {value: "", required:true}, password: {value: "", required:true} }, label: function () { return this.username; } }); </script> <script type="text/x-red" data-template-name="postnl-config"> <div class="form-row"> <label for="node-config-input-defaultuser"><i class="icon-user"></i> Username</label> <input type="text" id="node-config-input-username"> </div> <div class="form-row"> <label for="node-config-input-defaultgroup"><i class="icon-th-large"></i> Password</label> <input type="password" id="node-config-input-password"> </div> </script>