I’ve created a component that uses the DatePicker. I use the ShowDays to disable/enable days when needed. I would also like to have a ShowMonth to disable/enable the month. In the example below the period choosen is ‘Year’. The DatePicker still shows the month although that is not needed. Is there a way to have only a ‘Year’ in the picker? The ‘<‘ and ‘>’ should pick the next year.
You can simply use a DropDown instead.
Yes, that’s true but then the ‘<‘ and ‘>’ would also have to be programmed while that is already in the pop-up. For look-and-feel it would be nicer to have that in the DatePicker.
Feel free to submit pull request.
Hmmm, I don’t know if my knowledge of the code is good enough to alter that. In the mean time I’ve used a drop-down and that works ok. It breaks the look-and-feel a bit but that’s ok for me.

