Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* **Fixed Dropdown labels not displaying the selected value after a lookup data page call.**
* Github: [PR-623](https://github.com/pegasystems/angular-sdk-components/pull/623)

* **Fixed `TextInput`, `Email`, `URL`, and `TextArea` fields showing an empty value after being hidden and shown again by a visibility condition.**
* Github: [PR-656](https://github.com/pegasystems/angular-sdk-components/pull/656)

# [26.1.10](https://github.com/pegasystems/angular-sdk/tree/release/26.1.10)

### **Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class EmailComponent extends FieldBase implements OnInit, OnDestroy {
// Set component specific properties
const { value } = this.configProps$;
this.value$ = value;
this.fieldControl.setValue(this.value$ ?? '');
}

fieldOnChange(event: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export class TextAreaComponent extends FieldBase {

// Set component specific properties
this.value$ = value;
this.fieldControl.setValue(this.value$ ?? '');
this.nMaxLength$ = this.pConn$.getFieldMetadata(this.pConn$.getRawConfigProps()?.value)?.maxLength || 100;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class TextInputComponent extends FieldBase {
// Get and set component specific properties
const { value } = this.configProps$;
this.value$ = value;
this.fieldControl.setValue(this.value$ ?? '');
}

fieldOnChange(event: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class UrlComponent extends FieldBase {
// Extract and normalize the value property
const { value } = this.configProps$;
this.value$ = value;
this.fieldControl.setValue(this.value$ ?? '');
}

fieldOnChange(event: any) {
Expand Down
Loading