Closed BrilliantDecision closed 5 months ago
When input mounts, we see country code, for example +1. But I want to have an empty input on initial render We can clear input with ref, but hook stores the initial value until you use handlePhoneValueChange method
@BrilliantDecision Use the disableDialCodePrefill prop https://react-international-phone.vercel.app/docs/Usage/PhoneInput#disabledialcodeprefill
disableDialCodePrefill
When input mounts, we see country code, for example +1. But I want to have an empty input on initial render We can clear input with ref, but hook stores the initial value until you use handlePhoneValueChange method