material-ui-phone-number
material-ui-phone-number copied to clipboard
Fix 'Cannot read property 'iso2' of undefined' issue
Sometimes when selectedCountry doesn't exists appears issue. Please take a look into this github issue
Are you using this SSR? I am in the process of converting my app from CRA to SSR and found the same issue. Tells me selectedCountry variable is not properly initialized in some circumstances.
Bump
@alexplumb I can confirm that this fix is working for me. Please can someone merge this fix? Thanks
@SnitavetsIV and @ethaning can you please look at #95 and see if that works for you as well? I'd prefer my proposal over this PR. Please confirm.