From b65eb16eef85d5f1471ee7a76c326842cb368a7e Mon Sep 17 00:00:00 2001 From: srikant Date: Fri, 10 May 2024 00:46:39 +0530 Subject: [PATCH] #1935 Show/Hide password label is not translated in Passwordfield v13 (#1936) --- .../common-properties/controls/passwordfield/passwordfield.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/canvas_modules/common-canvas/src/common-properties/controls/passwordfield/passwordfield.jsx b/canvas_modules/common-canvas/src/common-properties/controls/passwordfield/passwordfield.jsx index 496de24210..15e3fa6fd4 100644 --- a/canvas_modules/common-canvas/src/common-properties/controls/passwordfield/passwordfield.jsx +++ b/canvas_modules/common-canvas/src/common-properties/controls/passwordfield/passwordfield.jsx @@ -27,6 +27,8 @@ import { formatMessage } from "./../../util/property-utils"; class PasswordControl extends React.Component { constructor(props) { super(props); + + this.reactIntl = props.controller.getReactIntl(); this.id = ControlUtils.getControlId(this.props.propertyId); }