react-native-modern-datepicker icon indicating copy to clipboard operation
react-native-modern-datepicker copied to clipboard

How to select a predefined date when datepicker is opened ?

Open franferns opened this issue 3 years ago • 2 comments

Describe the bug How do i select a predefined date when the datepicker is opened ?

To Reproduce Steps to reproduce the behavior:

  1. Go to react-native-modern-datepicker
  2. A selected props is set to 14-09-2022
  3. When the date picker is shown the set date in the selected prop is not highlighted or selected same happens when set with the current prop too.

Expected behavior Set a prop a date value to show date selected when the datepicker is shown

Screenshots https://snack.expo.dev/@francis25/date-sample

Desktop (please complete the following information):

  • OS: Android 11

franferns avatar Sep 13 '22 06:09 franferns

any updates on this ? @franferns where u able to solve this ?

Ahmed-Imam avatar Sep 28 '22 03:09 Ahmed-Imam

No could not find any solution for this

franferns avatar Sep 29 '22 13:09 franferns

any updates on this ? @franferns where u able to solve this ?

@Ahmed-Imam I tried this one https://www.npmjs.com/package/@react-native-community/datetimepicker . May be this could be help.

franferns avatar Nov 14 '22 14:11 franferns