Skip to content

feat(forms): styled date picker matching the UI#83

Merged
Musiker15 merged 1 commit into
mainfrom
feat/styled-date-picker
Jun 21, 2026
Merged

feat(forms): styled date picker matching the UI#83
Musiker15 merged 1 commit into
mainfrom
feat/styled-date-picker

Conversation

@Musiker15

Copy link
Copy Markdown
Member

Customer request: the native <input type="date"> calendar popup is browser/OS-rendered and can't be styled to match the rest of the UI.

Replaces the date field with a custom on-brand calendar popover (DateField): styled trigger showing the formatted date, month grid (Monday-first), prev/next month, Today + Clear, outside-click / Escape to close, selected/today highlighting in the accent color. No new dependency.

  • Emits the same YYYY-MM-DD string as the native input, so validation + submit are unchanged.
  • Month / weekday names follow the browser locale via Intl.
  • time / datetime keep the native input for now (less visually jarring; can follow).
  • New form labels dateToday / dateClear (EN/DE/HU).

typecheck/lint/build green.

The native <input type="date"> calendar popup is OS-rendered and can't be styled
to match the app. Replace the `date` field with a custom on-brand calendar
popover (DateField): styled trigger, month grid (Monday-first), prev/next, Today
+ Clear, outside-click/Escape to close. Emits the same `YYYY-MM-DD` string, so
validation/submit are unchanged. Month/weekday names follow the browser locale.

time/datetime keep the native input for now. New form labels dateToday/dateClear
(EN/DE/HU).
@Musiker15 Musiker15 merged commit c2b501c into main Jun 21, 2026
3 checks passed
@Musiker15 Musiker15 deleted the feat/styled-date-picker branch June 21, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant