-
Notifications
You must be signed in to change notification settings - Fork 250
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
Support entry format for date and time in questionnaire. #1850
Comments
Summary of last discussion on Time input widget in DateTime Component ,
|
@jingtang10 @shelaghm , I have some finding on Time input widget in DateTime Component
|
@PallaviGanorkar Thanks, some thoughts below (1) and (2) and (5) Is there a use case where people need to enter seconds? I don't know of a use case where someone needs to enter seconds, it's too much precision. Having seconds seems to add a lot of additional complexity without adding value. I suggest we use (3) I think we should use the time picker input field that comes with the AM/PM selection so people are not manually adding their own AM/PM text. See material.io for picker dial and for time picker input. Github link for implementation info (4) I don't understand the difference between (6) What is your question here? Is it to pick one? MaterialTimePicker with INPUT_MODE_KEYBOARD sounds like the best direction, as we want users to select the AM/PM with the UI not the keyboard |
(3) As per this point , do you mean instead of allowing free text input in TextView, SDC must show UI as per time picker input for text entry? (6) I have listed some implementation issue for time picker free text entry for time. @jingtang10 looking forward for you opinion as well on above points |
(3) Yes, that's right. Use the material UI for time picker input, not a textfield box. |
i'm concerned about the difference in how we handle date and time input - i think we should try to provide a consistent experience if possible. |
Okay, I have three options I can think of.
My preference is option 2, as I'm not too concerned about consistency as I think it's a better experience to enter time. I'm also okay with option 1. What do you think @PallaviGanorkar @jingtang10? |
@rowo @HenryRae @joiskash We'd like to hear your input on how you're planning to use DateTime or Time entry.
We want to make sure we are considering the right requirements while making decision on this issue. Thank you for your input. |
|
@jingtang10 FYI, |
@shelaghm currently I don't think we have a scenario for time entry(I stand to be corrected @rowo) but the most common formats I've seen in East Africa are 12hrs format(Am/PM) and simple precision i.e hours and minutes |
The issue I raised here on the date picker might be more appropriate to raise here. Can we make the date picker configurable, this(see screenshot) type of date picker is found to be easy to use than the one used in the designs. |
@HenryRae We have this alternative date picker in a separate issue #1805 It's quite unfortunate that material design has implemented a date picker that doesn't work well for entering dates. I'll add your comment in that issue so we can track demand and maybe we can find an engineer that has bandwidth to build this component. |
@HenryRae @joiskash Thanks for your input on time scenarios and level of precision needed. Very helpful. Conclusions:
|
Describe the bug
Developer should define the date format for the questionnaire.
More details are available in #1802 as this issue is one part of issue #1802
Component
SDC library
The text was updated successfully, but these errors were encountered: