nuxt / nuxt/ui

InputDate: add support for ISO formated date strings

Open
#5,945 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
TypeScript
Stars
6.9k
Forks
1.1k
Avg merge
1d 7h
Merged PRs (30d)
57

Description

Package

v4.x

Description

I use InputDate in a form. On submit the date is send to an API endpoint where the date is expected as ISO date string for example '2026-01-26'.

Currently the value of InputDate is DateValue. I want to request a value formating option, e.g. format=ISO.

Until this could be added, is there any easy workaround for the value transformation?

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the InputDate entry point and trace how its DateValue is exposed when the form is submitted. Check the existing component behavior and determine how an ISO date string such as 2026-01-26 should be requested and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.