web-ridge / react-native-paper-dates

Smooth and fast cross platform Material Design date and time picker for React Native Paper
https://www.reactnativepaperdates.com
MIT License
642 stars 166 forks source link

I'd like also the possibility to select only month and year. #84

Open Erns opened 3 years ago

Erns commented 3 years ago

I'd like also the possibility to select only month and year.

It's a common use case to select just the month and the year.

Originally posted by @francesco-clementi-92 in https://github.com/web-ridge/react-native-paper-dates/issues/80#issuecomment-869005131

RichardLindhout commented 3 years ago

I don't have this use-case myself so I won't built it myself. There's als not written something about this picker in the Material Design specification, maybe we can lookup some example of a Google app who does this and screenshot te layout for inspiration if there is a good looking someone can pick it up to create a PR but I think we first need to decide on a layout.

francesco-clementi-92 commented 3 years ago

Hi @RichardLindhout, I think we can refer to this guidelines: https://material-ui-pickers.dev/demo/datepicker#different-views.

The site is a little bit outdated, but even the new version https://next.material-ui.com/components/date-picker/ is pretty much the same (can't find an example)

RichardLindhout commented 3 years ago

Looking good! I'll accept a PR which adds this component

nguyenhoa072 commented 1 year ago

How to use this feature? thanks you so much.

github-actions[bot] commented 3 days ago

Hey! Thanks for opening the issue. Can you provide more information about the issue? Please fill the issue template when opening the issue without deleting any section. We need all the information we can, to be able to help. Make sure to at least provide - Current behaviour, Expected behaviour, A way to reproduce the issue with minimal code (link to snack.expo.dev) or a repo on GitHub, and the information about your environment (such as the platform of the device, versions of all the packages etc.).