mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2060 from jeancarl/dev
Transfer input attributes (placeholder, type) to generated TypedInput field
This commit is contained in:
commit
e7f54f005c
@ -159,6 +159,11 @@
|
|||||||
that.uiSelect.css("margin"+d,m);
|
that.uiSelect.css("margin"+d,m);
|
||||||
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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user