wave icon indicating copy to clipboard operation
wave copied to clipboard

Datetime picker

Open mtanco opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe

As part of a form, we may need to know a date and a time from the end user. Today, the developer would need to create a DataPicker and then manually ask the user for a time, possibly a textbox with a mask.

Describe the solution you'd like

A single date time component

Describe alternatives you've considered

A new time picker component to use next to or with a date picker.

Additional context

Fluent does not have a date time component. But they do have a time picker: https://github.com/microsoft/fluentui/pull/18556

mtanco avatar Jul 12 '22 22:07 mtanco

The Fluent time picker isn't documented, and has limitations: https://github.com/microsoft/fluentui/issues/9545#issuecomment-874008751

lo5 avatar Jul 13 '22 01:07 lo5

I'd recommend creating a separate time picker component. It should be fairly easy to display a date picker and a time picker side by side by the app, as opposed to providing a combined date and time picker in Wave.

lo5 avatar Jul 13 '22 01:07 lo5

The new ui.time_picker component which you can use alongside the ui.date_picker is here for you as a part of the Wave 0.23 release. https://wave.h2o.ai/docs/widgets/form/time_picker/

time_picker-8084c5e6b6d0301845e98fcff4de4ce4

marek-mihok avatar Sep 14 '22 14:09 marek-mihok