You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to offer a date picker component where users can select a date or datetime, e.g. birthdays or meeting dates.
Because implementing a whole date picker from scratch is time consuming, we want to offer a "quick win" by already
offering a OnyxDatePicker component which uses the existing OnyxInput and the native HTML <input type="date" /> for the flyout.
Like this, the component mostly looks and feels like onyx and we can provide the component quicker.
Later, we can refactor it and build our own flyout with more advanced features.
Design
TODO
Acceptance criteria
a date can be selected
manually via keyboard
via flyout
a datetime can be selected
manually via keyboard
via flyout
the component considers the current i18n locale and the users browser preference for i18n
all features of the OnyxInput are supported, except properties that do not make sense for dates (e.g. type email)
if possible, the native HTML flyout aligns with the light/dark mode
Depends on
Why?
We want to offer a date picker component where users can select a date or datetime, e.g. birthdays or meeting dates.
Because implementing a whole date picker from scratch is time consuming, we want to offer a "quick win" by already
offering a
OnyxDatePicker
component which uses the existingOnyxInput
and the native HTML<input type="date" />
for the flyout.Like this, the component mostly looks and feels like onyx and we can provide the component quicker.
Later, we can refactor it and build our own flyout with more advanced features.
Design
TODO
Acceptance criteria
OnyxInput
are supported, except properties that do not make sense for dates (e.g. type email)Implementation details
feat/1818-datepicker
Intl
APIDefinition of Done
apps/demo-app/src/views/HomeView.vue
Approval
The text was updated successfully, but these errors were encountered: