1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Copy data-i18n attribute on TypedInput

Fixes #2211
This commit is contained in:
Nick O'Leary 2019-06-19 10:10:17 +01:00
parent ccc3809daa
commit 8486f4d43a
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -160,7 +160,7 @@
that.input.css("margin"+d,0);
});
["type","placeholder"].forEach(function(d) {
["type","placeholder","data-i18n"].forEach(function(d) {
var m = that.element.attr(d);
that.input.attr(d,m);
});