I have trouble with date time picker with mode datetime, currently i use @react-native-community/datetimepicker
lib for showing spinner but in iOS i need remove time, only with current day (today, monday, tuesday, … ) then date.
Anyone has suggest for that. Or this is default of iOS and we cann’t modify this.
I have try install another lib like: react-native-date-picker
but behavior still same.
Thank for reading and feel free to leave a comment.
[Update]Sorry because image not clear. I mean i want keep: First day, Month and Day. Same as image updated
2
Answers
You need to pass prop
mode="date"
likeimport DateTimePicker from "@react-native-community/datetimepicker";
You can easily done with:
it looks like: