mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
update rest of parsers to allow property to be selected
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
|
||||
<script type="text/x-red" data-template-name="what3words">
|
||||
<div class="form-row">
|
||||
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
|
||||
<input type="text" id="node-input-property" style="width:70%;"/>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-apikey"><i class="fa fa-key"></i> API Key</label>
|
||||
<input type="password" id="node-input-apikey">
|
||||
@@ -41,9 +45,10 @@
|
||||
RED.nodes.registerType('what3words',{
|
||||
category: 'location',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
property: {value:"payload",required:true},
|
||||
title: {value:""},
|
||||
lang: {value:"en"},
|
||||
name: {value:""}
|
||||
lang: {value:"en"}
|
||||
},
|
||||
credentials: {
|
||||
apikey: {type: "password"}
|
||||
|
Reference in New Issue
Block a user