@descope/web-components-ui 1.0.153 → 1.0.154

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -4513,6 +4513,9 @@ class PhoneFieldInternal extends BaseInputClass$2 {
4513
4513
  }
4514
4514
 
4515
4515
  get value() {
4516
+ if (!this.countryCodeValue || !this.phoneNumberValue) {
4517
+ return '';
4518
+ }
4516
4519
  return this.inputs.map(({ value }) => value).join('-');
4517
4520
  }
4518
4521