@7shifts/sous-chef 3.53.0 → 3.53.1

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.
@@ -13125,8 +13125,7 @@ var PhoneField$1 = function PhoneField(_ref) {
13125
13125
  }
13126
13126
  };
13127
13127
  var handlePhoneChange = function handlePhoneChange(e) {
13128
- var formatedPhone = new AsYouType(selectedCountry).input(e.target.value);
13129
- e.target.value = formatedPhone;
13128
+ var formatedPhone = metaData.phone.length < e.target.value.length ? new AsYouType(selectedCountry).input(e.target.value) : e.target.value;
13130
13129
  var internationalPhone = '';
13131
13130
  var parseError = null;
13132
13131
  try {