Open mehdiraized opened 4 years ago
Agree on this one, really need to be able to select a year
Is there any work-around for having year in the calendar?
I tried to understand why I can't see YEAR along with Month in Calendar Navigation and came across this code.
<span className='nice-dates-navigation_current'> {format(month, getYear(month) === getYear(new Date()) ? 'MMMM' : 'MMMM yyyy', { locale })} </span>
I understand that this is a nice feature but there should be a toggle whether the user wants this behaviour or not because this is not an obvious default behaviour.
I understand that this is a nice feature but there should be a toggle whether the user wants this behaviour or not because this is not an obvious default behaviour.
@tusharshuklaa that makes sense, I thought of adding a monthFormat
prop that would allow overriding that, happy to accept a PR for it!
As for original issue described here, for now it's possible to change years by editing/typing the text on the input.
Anyone working on it?
Does anyone know of a react date-picker library which does support a month picker? 😞
I understand that this is a nice feature but there should be a toggle whether the user wants this behaviour or not because this is not an obvious default behaviour.
@tusharshuklaa that makes sense, I thought of adding a
monthFormat
prop that would allow overriding that, happy to accept a PR for it!As for original issue described here, for now it's possible to change years by editing/typing the text on the input.
I've added the monthFormat
option and later maybe I could add some way to have a year dropdown, but I'm not promising anything here 😉
we need pick birthday in profile page not this package not good user experience for select years and month