@descope/web-components-ui 1.0.183 → 1.0.184
Sign up to get free protection for your applications and to get access to all the features.
- 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/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +1 -1
- package/package.json +1 -1
- 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
@@ -5072,7 +5072,7 @@ class PhoneFieldInternal extends BaseInputClass$2 {
|
|
5072
5072
|
}
|
5073
5073
|
|
5074
5074
|
getValidity() {
|
5075
|
-
const validPhonePattern =
|
5075
|
+
const validPhonePattern = /^\+?\d{1,4}-?(?:\d-?){1,15}$/;
|
5076
5076
|
const stripValue = this.value.replace(/\D/g, '');
|
5077
5077
|
|
5078
5078
|
if (this.isRequired && !this.value) {
|