react-native-elements / react-native-elements

Cross-Platform React Native UI Toolkit

Home Page:https://reactnativeelements.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DatePicker Or Calendar?

yaronlevi opened this issue · comments

Library is top notch. But a Date, Time and calendar are missing. I think they are needed in many apps. Can there be added to the roadmap?

Thank you very much!

commented

+1 for DatePicker and CalendarPicker But I have some suggestion:
Please make this component independent from calendar system and with good i18n support. So users can change for example Moment with Moment-Jalaali and use it as a Persian DatePicker. Something happend in MaterialUI datepicker (it's independent from calendar and support many calendar system because use intl in their component)

We plan to support this soon, but in the meantime please check out this calendar library instead:
https://github.com/wix/react-native-calendars

Is there any progress on this?

@aaymont Not as yet, feel free to suggest ways in which we could implement. Current in the apps I make I use https://github.com/mmazzarolo/react-native-modal-datetime-picker.

commented

@iRoachie Not able to trigger action with formInput can you share some code ?

My suggestion: If you need a Calendar component in React Native, use Wix's React Native Calendar.

I personally used it where I work and we had great success with it. It's really well built and is extremely flexible, so even if you need some custom UI.. chances are it can handle it.

Here's what our calendar looks like just as a reference.

screen shot 2018-05-23 at 10 27 44 am

@iRoachie I'd suggest that instead of reinevnting the wheel, we should just direct people to use react-native-calendars instead.

Thanks, that's a good idea! I'll lock this issue for just that.