react-native-ui-kitten icon indicating copy to clipboard operation
react-native-ui-kitten copied to clipboard

MonthYear Picker

Open suguspnk opened this issue 3 years ago • 5 comments

🚀 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" />

suguspnk avatar Jan 31 '22 07:01 suguspnk

+1

kieuquang1110tt avatar Feb 13 '22 07:02 kieuquang1110tt

My team would also find this useful.

bElliott06 avatar Feb 25 '22 19:02 bElliott06

+1

brhndursun avatar Mar 09 '22 12:03 brhndursun

+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

tinvujasinovic avatar Apr 08 '22 10:04 tinvujasinovic

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

menusha95 avatar Sep 12 '23 11:09 menusha95