@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/index.esm.js CHANGED
@@ -5072,7 +5072,7 @@ class PhoneFieldInternal extends BaseInputClass$2 {
5072
5072
  }
5073
5073
 
5074
5074
  getValidity() {
5075
- const validPhonePattern = /^\+\d{1,4}-(?:\d-?){1,15}$/;
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) {