usePhoneInput, onChange #56
-
Hey. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @organroman! Seems like you are passing empty (or not formatted) usePhoneInput({
defaultCountry: 'us',
value: '+1 ',
onChange: (data) => {},
}); Can you provide some live code examples if that doesn't help in your case? 🙏 |
Beta Was this translation helpful? Give feedback.
Hey @organroman! Seems like you are passing empty (or not formatted)
value
andonChange
is triggered on initial formatting.Make sure you are passing already formatted
value
, for example:Can you provide some live code examples if that doesn't help in your case? 🙏