@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.
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -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 {
|