From aabc0298007bbdaa83c3fbc6ca90b4d6d4485578 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 2 Oct 2024 20:18:00 +0300 Subject: [PATCH] Angular 18 migration --- .../components/json-form/react/json-form-date.tsx | 5 +++++ .../components/json-form/react/json-form-icon.tsx | 10 +++++++--- .../components/json-form/react/json-form-radios.tsx | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/shared/components/json-form/react/json-form-date.tsx b/ui-ngx/src/app/shared/components/json-form/react/json-form-date.tsx index 45403e23a2..868bbd5cb6 100644 --- a/ui-ngx/src/app/shared/components/json-form/react/json-form-date.tsx +++ b/ui-ngx/src/app/shared/components/json-form/react/json-form-date.tsx @@ -60,6 +60,11 @@ class ThingsboardDate extends React.Component
{ + containerRef = React.createRef(); + constructor(props) { super(props); this.onBlur = this.onBlur.bind(this); @@ -54,7 +56,7 @@ class ThingsboardIcon extends React.Component { if (!this.props.form.readonly) { @@ -64,7 +66,7 @@ class ThingsboardIcon extends React.Component +
{pickedIcon} { return ( - } label={item.name} key={index} /> + } label={item.name} key={index} /> ); });