You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// So initially this will format the phone or set the dial code to us if no phone is there, but since we expect user to enter phone number, we will ignore the first call
26
+
if(!hasValueInitialized.current){
27
+
hasValueInitialized.current=true
28
+
return
29
+
}
22
30
onChange(data.phone)
23
31
},
24
32
})
@@ -51,16 +59,13 @@ const PhoneInput = ({
51
59
value={inputValue}
52
60
onChange={handlePhoneValueChange}
53
61
inputRef={inputRef}
62
+
// Since we are showing error below but want css of errors here
0 commit comments