Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimePickerAndroid not showing on mode datetime only DatePicker. #283

Closed
damathryx opened this issue Dec 22, 2016 · 7 comments
Closed

TimePickerAndroid not showing on mode datetime only DatePicker. #283

damathryx opened this issue Dec 22, 2016 · 7 comments

Comments

@damathryx
Copy link

  • tcomb-form-native v0.6.1
  • react-native v0.38.0
const dateForm = {
      auto: 'none',
      fields: {
        date_time: {
          minimumDate: new Date(new Date().getTime() + (24 * 60 * 60 * 1000)),
          minuteInterval: 10,
          mode: 'datetime',
          config: {
            format: date => String(moment(date).format('D MMM YYYY HH:MM A')),
          },
        },
      },
    };

only datepicker shows not timepicker in android.

@luisguilhermemsalmeida
Copy link

Anything on this? Having the same issue here, I think a workaround would be to show first datepicker and then timepicker on android

@pk2004
Copy link

pk2004 commented Jan 17, 2017

We are also having the same issue here. Agree with @luisguilhermemsalmeida datepicker then timepicker seems like a reasonable approach.

@kingctan
Copy link

kingctan commented Feb 5, 2017

no datetime mode. I also need this features.

@alvaromb
Copy link
Collaborator

There are two components in react-native, TimePickerAndroid and DatePickerAndroid. This library exposes both, but AFAIK there is no DateTimePickerAndroid or similar stuff in RN.

Feel free to ping me if I'm wrong :)

@JWDobken
Copy link

JWDobken commented May 9, 2017

What is the status of this issue?
Has anyone implemented a solution already?

@alvaromb
Copy link
Collaborator

Hi all!

I'm currently working on this, please feel free to test the initial implementation: #410

@alvaromb alvaromb reopened this Oct 11, 2017
@alvaromb
Copy link
Collaborator

Merged in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants