mirror of https://github.com/node-red/node-red.git
Merge pull request #1931 from node-red-hitachi/master-typedinput
Fix unnecessary TypedInput elementpull/1930/head^2
commit
5cf9c07b73
|
@ -537,6 +537,10 @@
|
|||
} else {
|
||||
this.selectLabel.text(opt.label);
|
||||
}
|
||||
if (this.optionMenu) {
|
||||
this.optionMenu.remove();
|
||||
this.optionMenu = null;
|
||||
}
|
||||
if (opt.options) {
|
||||
if (this.optionExpandButton) {
|
||||
this.optionExpandButton.hide();
|
||||
|
@ -627,10 +631,6 @@
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if (this.optionMenu) {
|
||||
this.optionMenu.remove();
|
||||
this.optionMenu = null;
|
||||
}
|
||||
if (this.optionSelectTrigger) {
|
||||
this.optionSelectTrigger.hide();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue