mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Transfer placeholder and type to generated TypedInput field
This commit is contained in:
parent
0748dff355
commit
97e789538e
@ -160,6 +160,11 @@
|
|||||||
that.input.css("margin"+d,0);
|
that.input.css("margin"+d,0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
["type","placeholder"].forEach(function(d) {
|
||||||
|
var m = that.element.attr(d);
|
||||||
|
that.input.attr(d,m);
|
||||||
|
});
|
||||||
|
|
||||||
this.uiSelect.addClass("red-ui-typedInput-container");
|
this.uiSelect.addClass("red-ui-typedInput-container");
|
||||||
|
|
||||||
this.element.attr('type','hidden');
|
this.element.attr('type','hidden');
|
||||||
|
Loading…
Reference in New Issue
Block a user