@descope/web-components-ui 1.0.302 → 1.0.304

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -3536,9 +3536,9 @@ let EnrichedText$2 = class EnrichedText extends createBaseClass({ componentName:
3536
3536
 
3537
3537
  onReadOnlyChange(isReadOnly) {
3538
3538
  if (isReadOnly) {
3539
- this.setAttribute('inert', isReadOnly);
3539
+ this.contentNode.setAttribute('inert', isReadOnly);
3540
3540
  } else {
3541
- this.removeAttribute('inert');
3541
+ this.contentNode.removeAttribute('inert');
3542
3542
  }
3543
3543
  }
3544
3544
  };
@@ -5387,7 +5387,7 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
5387
5387
  } else {
5388
5388
  this.countryCodeInput.selectedItem = undefined;
5389
5389
  }
5390
- this.phoneNumberInput.value = phoneNumber;
5390
+ this.phoneNumberInput.value = this.phoneNumberInput.value || phoneNumber;
5391
5391
  }
5392
5392
 
5393
5393
  get phoneNumberValue() {