Skip to content

Commit

Permalink
Value Field Display Policy
Browse files Browse the repository at this point in the history
When the enum is in a composite type then show both the select element and the edit value field, otherwise display only the select element.
  • Loading branch information
tdakanalis committed Mar 31, 2016
1 parent 24c9440 commit dd67954
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/Node.js
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,8 @@ Node.prototype._updateDomValue = function () {
this.dom.tdValue.parentNode.insertBefore(this.dom.tdSelect, this.dom.tdValue);
} else {
this.dom.tdValue.parentNode.insertBefore(this.dom.tdSelect, this.dom.tdValue);
this.dom.tdValue.className += ' hidden';
this.dom.tdValue.style.visibility = 'hidden';
this.dom.tdValue.innerHTML = '';
}
}
}
Expand Down

0 comments on commit dd67954

Please sign in to comment.