Skip to content

Commit 4da9591

Browse files
Phone component API calling condition change (#360)
Co-authored-by: tumms2021389 <[email protected]>
1 parent b4d4c7f commit 4da9591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular-sdk-components/src/lib/_components/field/phone/phone.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class PhoneComponent extends FieldBase {
5353
const newVal = this.formGroup$.controls[this.controlName$].value;
5454
const isValueChanged = newVal?.toString() !== oldVal.toString();
5555

56-
if (isValueChanged && newVal) {
56+
if (isValueChanged) {
5757
const value = this.formGroup$.controls[this.controlName$].value;
5858
handleEvent(this.actionsApi, 'changeNblur', this.propName, value);
5959
}

0 commit comments

Comments
 (0)