-
Notifications
You must be signed in to change notification settings - Fork 547
Open
Labels
Description
Getting following error when resizing after I select country from dropdown
This is how I use it right now
<PhoneInput onChange={this.phoneChange}/>
Error:
Uncaught TypeError: Cannot read property 'iso2' of undefined
at n.value (index.js:1)
at finishClassComponent (react-dom.development.js:8389)
at updateClassComponent (react-dom.development.js:8357)
at beginWork (react-dom.development.js:8982)
at performUnitOfWork (react-dom.development.js:11814)
at workLoop (react-dom.development.js:11843)
at HTMLUnknownElement.callCallback (react-dom.development.js:100)
at Object.invokeGuardedCallbackDev (react-dom.development.js:138)
at invokeGuardedCallback (react-dom.development.js:187)
at replayUnitOfWork (react-dom.development.js:11318)
at renderRoot (react-dom.development.js:11885)
at performWorkOnRoot (react-dom.development.js:12449)
at performWork (react-dom.development.js:12370)
at performSyncWork (react-dom.development.js:12347)
at requestWork (react-dom.development.js:12247)
at scheduleWorkImpl (react-dom.development.js:12122)
at scheduleWork (react-dom.development.js:12082)
at Object.enqueueSetState (react-dom.development.js:6644)
at App../node_modules/react/cjs/react.development.js.Component.setState (react.development.js:238)
at App._this.handleWindowSizeChange (App.js:78)
katp4, victorpavlenko, ivanpochta, jeemok, mxschmitt and 2 more