Comments (2)
Thanks for reaching out. Could you please be more specific on what the requirement is?
Is it about a single component which combines date picker and time picker in a single popover?
Our current guidance is to use DatePicker
and TimePicker
side by side, as documented in Time Picker With Date Picker example.
Or about custom formatting for time?
TimePicker
component allows you to use custom formatter and parser, see Freeform Custom Parsing example.
from fluentui.
Is it about a single component which combines date picker and time picker in a single popover? Our current guidance is to use
DatePicker
andTimePicker
side by side, as documented in Time Picker With Date Picker example.Or about custom formatting for time?
TimePicker
component allows you to use custom formatter and parser, see Freeform Custom Parsing example.
Both, we need a component which combines date picker and time picker in a single popover (current solution "datetime-locale), and also the possibility to format the chosen datetime to display it to the user in the selected locale of the application (no solution atm).
The case is that some of our users are only able to use a mouse. Using separate fields for Date
and Time
would be ok but not the best solution as the user would need to do a lot of scrolling to pick the exact time he requires, e.g. 18:41.
We would also need to concatenate date and time programmatically to send it to our backend.
The solution we have atm is using v9 <Input type="datetime-locale"/>
the problem with the native type "datetime-locale" is, that there is no implementation to format the chosen datetime to display in the current user locale. Setting timezones, Using datetime-local inputs
Something like <Input type="datetime-locale"/>
but with the ability to pass a locale or to format the input to show it to the user in the selected locale would be the solution we are looking for.
That's why I was thinking of something like a DateTimePicker
component with props like formatDate
and also fluentui styling.
from fluentui.
Related Issues (20)
- [Bug]: Fluent UI 9 Popover aria-hidden-focus error HOT 1
- [Stacked Bar Chart] when we click on change data and mouse over on the legend the legend color is getting duplicated HOT 1
- [Line chart]In line chart basic when we mouse over on the legends single point is always in enable. HOT 1
- [Bug]: When using a screen-reader, the user is unable to 'tab' into the dismiss button HOT 2
- [Feature]: Update the setup fluent ui process as per React 18
- [Bug]: Aria-description on TreeItem gets warning - Warning: Invalid aria prop `aria-description` on <div> tag HOT 1
- [Bug]: Combobox doesn't close when arrow is clicked
- [chore]: migrate Dialog to use @fluentui/react-motions-preview
- [chore]: migrate InlineDrawer & OverlayDrawer to use @fluentui/react-motions-preview
- [chore]: migrate Toast to use @fluentui/react-motions-preview HOT 1
- [chore]: deprecate @fluentui/react-motion-preview HOT 1
- [chore]: migrate Popover to use @fluentui/react-motions-preview
- [Feature]: introduce motionSlot() and necessary types HOT 1
- [Bug]: When resizing a window with open dialog, the content modified through ref in content is discarded HOT 3
- [Feature]: create Vite starter template & run project tests against it
- [Bug]: Toast action button color contrast HOT 5
- The builds are broken HOT 4
- [Bug]: Type 'IStyleSet' is not generic.
- [Bug]: `swc-plugin-de-indent-template-literal` doesn't work with new swc
- [Bug]: @fluentui/web-components - web-components-v3 - css variable token resolutions (output) has changed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentui.