@descope/web-components-ui 1.0.302 → 1.0.303

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
  };