akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.3k stars 952 forks source link

MonthYear Picker #1582

Open suguspnk opened 2 years ago

suguspnk commented 2 years ago

🚀 Feature Proposal

Please make the Datepicker support a month/year selection.

Motivation

I have a requirement that I need to select the month&year without the date and it seems like the current Datepicker does not support this or at least I can't find it.

Example

<Datepicker mode="month" /> <Datepicker mode="year" />

kieuquang1110tt commented 2 years ago

+1

bElliott06 commented 2 years ago

My team would also find this useful.

brhndursun commented 2 years ago

+1

tinvujasinovic commented 2 years ago

+1, at the moment were hacking this, using placeholder to show the selected month name and rendering a TouchableOpacity in the renderMonth prop to be able to close the calender on press and return the value image

menusha95 commented 1 year ago

@tinvujasinovic Your approach actually works. did you able to customize the Year selection dropdown?