web-ridge / react-native-paper-dates

Smooth and fast cross platform Material Design date and time picker for React Native Paper
https://www.reactnativepaperdates.com
MIT License
662 stars 170 forks source link

Error: Objects are not valid as a React child (found: [object Date]). If you meant to render a collection of children, use an array instead. #276

Closed IsharaNadeeshan closed 1 year ago

IsharaNadeeshan commented 1 year ago

I'm new to programming,

{range.startDate===undefined?'pick the date':range.startDate }

I used the above code to get the results(other codes are same as document). but i couldn't, how to solve this?

github-actions[bot] commented 1 year ago

Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository.