mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #1931 from node-red-hitachi/master-typedinput
Fix unnecessary TypedInput element
This commit is contained in:
commit
5cf9c07b73
@ -537,6 +537,10 @@
|
|||||||
} else {
|
} else {
|
||||||
this.selectLabel.text(opt.label);
|
this.selectLabel.text(opt.label);
|
||||||
}
|
}
|
||||||
|
if (this.optionMenu) {
|
||||||
|
this.optionMenu.remove();
|
||||||
|
this.optionMenu = null;
|
||||||
|
}
|
||||||
if (opt.options) {
|
if (opt.options) {
|
||||||
if (this.optionExpandButton) {
|
if (this.optionExpandButton) {
|
||||||
this.optionExpandButton.hide();
|
this.optionExpandButton.hide();
|
||||||
@ -627,10 +631,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (this.optionMenu) {
|
|
||||||
this.optionMenu.remove();
|
|
||||||
this.optionMenu = null;
|
|
||||||
}
|
|
||||||
if (this.optionSelectTrigger) {
|
if (this.optionSelectTrigger) {
|
||||||
this.optionSelectTrigger.hide();
|
this.optionSelectTrigger.hide();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user