Merge pull request #2060 from jeancarl/dev

Transfer input attributes (placeholder, type) to generated TypedInput field
This commit is contained in:
Nick O'Leary 2019-02-28 10:50:15 +00:00 committed by GitHub
commit e7f54f005c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -159,6 +159,11 @@
that.uiSelect.css("margin"+d,m);
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");