question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TimePickerAndroid not showing on mode datetime only DatePicker.

See original GitHub issue
  • 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.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:7

github_iconTop GitHub Comments

2reactions
luisguilhermemsalmeidacommented, Jan 7, 2017

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

1reaction
alvarombcommented, Oct 17, 2017

Merged in master.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-community/datetimepicker - npm
Has no effect when display is "spinner" . themeVariant ( optional , iOS only ). Allows overriding system theme variant (dark or light...
Read more >
How to create a date and time picker in Android? [closed]
@JDJ we have a bug, on Lollipop or Marshmallow the native DatePicker and TimePicker is not shown, instead shows the pre-lollipop components. – ......
Read more >
Android Date Time Picker Dialog | DigitalOcean
In this tutorial we'll demonstrate the use of a Date Picker and Timer Picker Dialog in our android application. These components are used...
Read more >
Change how a date or time is displayed in a date picker, text ...
Browser-compatible form templates do not support the display of the date and time in the same control. To display the date and time...
Read more >
React Native Community contribution - GoDaddy
npm install --save @react-native-community/datetimepicker react-native link ... capable of displaying as time picker by setting mode=time or mode=datetime .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found