From 1583830eff6ab15f3a8f369e23bb46e1201656ed Mon Sep 17 00:00:00 2001 From: samhere06 Date: Wed, 23 Sep 2026 10:22:39 +0530 Subject: [PATCH 1/2] fix(search-form): fall back to inherited label when config label is missing --- .../data-reference/search-form/search-form.component.html | 2 +- .../data-reference/search-form/search-form.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/angular-sdk-components/src/lib/_components/template/data-reference/search-form/search-form.component.html b/packages/angular-sdk-components/src/lib/_components/template/data-reference/search-form/search-form.component.html index 6d36b7c2..6dbc8416 100644 --- a/packages/angular-sdk-components/src/lib/_components/template/data-reference/search-form/search-form.component.html +++ b/packages/angular-sdk-components/src/lib/_components/template/data-reference/search-form/search-form.component.html @@ -1,5 +1,5 @@
-
{{ propsToUse.label }}
+

{{ label$ }}

diff --git a/packages/angular-sdk-components/src/lib/_components/template/data-reference/search-form/search-form.component.ts b/packages/angular-sdk-components/src/lib/_components/template/data-reference/search-form/search-form.component.ts index 86297118..e167e5fb 100644 --- a/packages/angular-sdk-components/src/lib/_components/template/data-reference/search-form/search-form.component.ts +++ b/packages/angular-sdk-components/src/lib/_components/template/data-reference/search-form/search-form.component.ts @@ -48,6 +48,7 @@ export class SearchFormComponent implements OnInit, OnChanges { tabItems: any[] = []; searchCategoriesComp: any; propsToUse: any; + label$: string; tabData: any = []; tabCountSources: any; deferLoadedTabs: any; @@ -59,6 +60,7 @@ export class SearchFormComponent implements OnInit, OnChanges { this.isInitialized = true; this.configProps$ = this.pConn$.resolveConfigProps(this.pConn$.getConfigProps()); this.propsToUse = { ...this.pConn$.getInheritedProps() }; + this.label$ = this.configProps$?.label || this.propsToUse.label; // When called from ObjectReference, pConn$ itself acts as deferLoadedTabs (no children[2]) if (this.type === 'ObjectReference') { this.deferLoadedTabs = { getPConnect: () => this.pConn$ }; From fd1925a24217ef6f8d30e1abed6d972f7f4656e0 Mon Sep 17 00:00:00 2001 From: samhere06 Date: Wed, 23 Sep 2026 10:27:21 +0530 Subject: [PATCH 2/2] docs(changelog): update bug fix entry for search form label fallback --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c7db04e..eabcf318 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ * Github: [PR-579](https://github.com/pegasystems/angular-sdk-components/pull/579) * **Fixed the issue where changing a property value on the screen was not reflected in the list below.** * Github: [PR-581](https://github.com/pegasystems/angular-sdk-components/pull/581) +* **Fixed search form label issue, fallback to inherited label when config label is missing.** + * Github: [PR-581](https://github.com/pegasystems/angular-sdk-components/pull/582) # [25.1.13](https://github.com/pegasystems/angular-sdk/tree/release/25.1.13) - Released: 12/06/2026