@descope/web-components-ui 2.2.5 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js.map +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js.map +1 -1
- package/package.json +28 -28
- package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +5 -1
package/dist/index.esm.js
CHANGED
|
@@ -11160,7 +11160,11 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$9 {
|
|
|
11160
11160
|
const attr = mapAttrs$1[attrName] || attrName;
|
|
11161
11161
|
|
|
11162
11162
|
if (commonAttrs$1.includes(attrName)) {
|
|
11163
|
-
|
|
11163
|
+
if (!newValue) {
|
|
11164
|
+
this.inputs.forEach((input) => input.removeAttribute(attr));
|
|
11165
|
+
} else {
|
|
11166
|
+
this.inputs.forEach((input) => input.setAttribute(attr, newValue));
|
|
11167
|
+
}
|
|
11164
11168
|
} else if (countryAttrs.includes(attrName)) {
|
|
11165
11169
|
this.comboBox.setAttribute(attr, newValue);
|
|
11166
11170
|
} else if (phoneAttrs.includes(attrName)) {
|