react-native-datepicker icon indicating copy to clipboard operation
react-native-datepicker copied to clipboard

null initial date on Android

Open stereodenis opened this issue 9 years ago • 8 comments

null initial date on android throw error: "Cannot read property 'getMonth' of null" from https://github.com/facebook/react-native/blob/master/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js#L22

stereodenis avatar Aug 16 '17 08:08 stereodenis

Could you paste some code here?

feyy avatar Aug 23 '17 13:08 feyy

Same error here :( @stereodenis have you find a solution ?

guillaumecodet avatar Dec 13 '17 11:12 guillaumecodet

Same issue :/

arnsa avatar Dec 17 '17 11:12 arnsa

same issue

pashawowi avatar Mar 14 '18 04:03 pashawowi

same

sibelius avatar Mar 14 '18 15:03 sibelius

If it helps, we ran into the same issue (but for endDate) and replacing null with undefined solved it for us.

rodrigoalmeidaee avatar Apr 25 '18 00:04 rodrigoalmeidaee

Same issue here


Solved as @rodrigoalmeidaee said 😅

JoseVf avatar Aug 14 '18 17:08 JoseVf

Still getting this issue. Using undefined as per @rodrigoalmeidaee's suggestion doesn't work for me.

jackharding avatar Aug 19 '19 12:08 jackharding