@awell-health/ui-library 0.1.117 → 0.1.119
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 +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37360,11 +37360,12 @@ Check the top-level render call using <` + t + ">.");
|
|
|
37360
37360
|
countries: countries,
|
|
37361
37361
|
forceDialCode: forceDialCode,
|
|
37362
37362
|
onPhoneUpdate: function (phone) {
|
|
37363
|
+
var _a, _b;
|
|
37363
37364
|
if (touched && phone.length > 3) {
|
|
37364
37365
|
onChange({ target: { value: phone } });
|
|
37365
37366
|
} else
|
|
37366
37367
|
{
|
|
37367
|
-
onChange({ target: { value: '' } });
|
|
37368
|
+
onChange({ target: { value: (_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : '' } });
|
|
37368
37369
|
}
|
|
37369
37370
|
} }),
|
|
37370
37371
|
phone = _e.phone,handlePhoneValueChange = _e.handlePhoneValueChange,inputRef = _e.inputRef,country = _e.country,setCountry = _e.setCountry;
|