New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Ability to type a date into CalendarDatePicker #735
Comments
@tbolon - To summarize, you're proposing the ability to type in a date without the need to open any sort of picker. Is that correct? While this capability is relevant for both CalendarDatePicker and DatePicker, you don't need multiple controls that support this? Would a TextBox with date-specific data validation meet your needs? (I'm not proposing that we add more complexity to TextBox, just trying to fully understand your requirements.) |
What about an IsEditable property on the DatePicker where you can type in a date even when the scrolling pop-up or calendar flyout opens - maybe it can even try to autocomplete as you type? |
I'm in agreement with @mdtauk here - similar to how we did |
I just wanted to point that as of now, the control seems to be really focused on mouse/touch input, and barely usable with keyboard only compared to controls available on other UI frameworks. Of course, adding too much complexity is not desired, as it could be solved with a custom control. Finding a way to address at least partially this problem without adding any complexity or new controls is the best I could hope :) |
Use Flyouts for CalendawView the show it when the users click the Calendar Icon and create a separate Textbox for users input and bind the Text Property with Notify property change. Validate and Format the text every time the users input a new value. hope it help! |
Following up on this - I think it's a great suggestion, but at this time we don't have the resources to implement right away because of our WinUI 3.0 effort. |
I ran across a strong need for this as well. When selecting a date close to today the calendar flyout selection works fine. However, when the date is say 10 years before present, that requires a lot of clicks in the calendar flyout. Additionally, those clicks are not 100% intuitive for all users (navigating back to decade view, etc.). The ability to type in a date directly will be extremely useful and bring this control more-or-less to parity with WPF's DatePicker. Some concerns: localization and parsing of the date format must be handled correctly. C++/WinRT and C#/.net have two different ways of handling localization and this is causing concerns with these types of scenarios. (NumberBox as well #483) |
I hit this issue as well. |
Proposal: Better keyboard input on CalendarDatePicker
Summary
Allow the CalendarDatePicker to be better used with the keyboard, allowing direct date input with numeric values (numbers and date separator) instead of relying on the calendar navigation (space/enter/arrow keys) which is really slow.
Rationale
5/5/19
)Scope
+2d
to add two days to current date)Important Notes
We are considering migrating our lob app on WinUI, but are not really impressed by the native controls exposed.
Open Questions
I know that this framework is still quite new, and is still a lot oriented on smartphones/tablets and mouse/touch input, but if you want to allow developers to create more LOB apps, I think you should add more keyboard and efficiency focused features.
I also created this suggestion because a demo was presented at the build for an input control with a calculator feature (#483). This feature seems to be oriented on business users, like this one.
Related: this feature could also target the DatePicker control to better allow keyboard based input (still based on date value instead of control navigation) and/or allow typing a value using arrow keys without needing the popup control.
The text was updated successfully, but these errors were encountered: