react-phone-input
react-phone-input copied to clipboard
TypeError: i.startsWith is not a function. (In 'i.startsWith("+")', 'i.startsWith' is undefined)
An idea why I would be getting this? no one else seems to complain. I have lodash installed.
The component shows fine but after setting it blows up with the exception
any ideas?
@rchancey I haven't had time recently to look in to the lib but it seems like a browser compatibility issue. Have a look here (https://www.w3schools.com/jsref/jsref_startswith.asp) and see if you are not using an old browser