.html file code to add dropdown in custom node property
<div class="form-row">
<label for="node-input-userValue"><i class="fa fa-calculator"></i> Value</label>
<select id="node-input-userValue">
<option>1</option>
<option>2</option>
</select>
</div>
and i am trying to access it in .js file of same custom node like
var node = this;
node.on('input', function(msg) {
var selected_item= node.userValue;
outMsg = {payload: node.userValue}
node.send(outMsg);
});