material-ui-phone-number icon indicating copy to clipboard operation
material-ui-phone-number copied to clipboard

Fix 'Cannot read property 'iso2' of undefined' issue

Open SnitavetsIV opened this issue 5 years ago • 4 comments

Sometimes when selectedCountry doesn't exists appears issue. Please take a look into this github issue

SnitavetsIV avatar Mar 24 '20 08:03 SnitavetsIV

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.

copenhaverjf avatar Mar 27 '20 16:03 copenhaverjf

Bump

ethaning avatar May 08 '20 17:05 ethaning

@alexplumb I can confirm that this fix is working for me. Please can someone merge this fix? Thanks

ethaning avatar Oct 26 '20 13:10 ethaning

@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.

bherila avatar Aug 29 '21 07:08 bherila