From 8486f4d43a9f82e857d807fc7451cca554eff37f Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 19 Jun 2019 10:10:17 +0100 Subject: [PATCH] Copy data-i18n attribute on TypedInput Fixes #2211 --- .../@node-red/editor-client/src/js/ui/common/typedInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js index 1b18968bf..672b69a28 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js @@ -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); });