-
Hi, Is there any way to use an alternate method for selecting a year? I do not wish to allow users to enter or edit a date directly into the input but I would like users to be able to quickly select for example, the year 1953, by typing directly - this could either be by typing directly into a textbox in the year section of the datepicker or having a dropdown with years which would allow the user to type to jump directly to that year in the dropdown. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You can use the component system to turn off everything but the year, or the viewMode option to make the year the first thing people see. |
Beta Was this translation helpful? Give feedback.
-
Great stuff - not able to test right now but will try those properties. Just to confirm - it's something like this that's been requested - the existing datepicker but with the ability to type a specific year without having to click through various menus. Thanks again. |
Beta Was this translation helpful? Give feedback.
Yup. Then you want the viewMode option. The previous link was to the wrong place in the docs.
You can do