@descope/web-components-ui 1.0.434 → 1.0.435
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 +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/descope-hybrid-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/package.json +2 -2
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +1 -1
package/dist/index.esm.js
CHANGED
@@ -10553,7 +10553,7 @@ class PhoneFieldInternal extends BaseInputClass$5 {
|
|
10553
10553
|
return { tooLong: true };
|
10554
10554
|
}
|
10555
10555
|
|
10556
|
-
if (!validPhonePattern.test(this.value)) {
|
10556
|
+
if (this.value && !validPhonePattern.test(this.value)) {
|
10557
10557
|
return { patternMismatch: true };
|
10558
10558
|
}
|
10559
10559
|
|