From f030834fda31d28fad132387ff3804219ef045db Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 22 Oct 2026 13:19:35 +0300 Subject: [PATCH] fix(iot-hub): re-resolve install instructions after going back and changing a form Instruction steps stay rendered, and tb-iot-hub-markdown resolved variables only when its data changed. After Back, a corrected form value and Next, the sketch kept showing the old value. The markdown component now also re-resolves when the resolver changes, and the dialog passes a new resolver whenever form values are committed. --- .../device-install-dialog.component.ts | 7 +++++++ .../components/iot-hub/iot-hub-markdown.component.ts | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 825db7461a..a459a622ae 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -376,13 +376,20 @@ export class TbDeviceInstallDialogComponent extends DialogComponent changes[propName] && changes[propName].currentValue !== changes[propName].previousValue); + if (changed) { + this.parsedData = this.parseData(this.data); } }