Datetimepicker: Accessing the ok button of the calendar

Created on 13 May 2020  路  2Comments  路  Source: react-native-datetimepicker/datetimepicker

Question

I am building a screen and I want the user to land to the time-picker after pressing 'OK' on the date-picker. But I am unable to do that. Can someone help me with this?

All 2 comments

hello and thanks for reporting!

I deleted the comment because it was misleading.

@gagan-aryan what you need to do is

  1. open date-picker
  2. user presses 'OK'
  3. hide date-picker
  4. open time-picker
  5. user presses 'OK'
  6. close time-picker

hope this helps!

?????????????????????????????????

I'm sure you've asked what the accessory is to handle that event....

Was this page helpful?
0 / 5 - 0 ratings