Skip to content

Conversation

@hywax
Copy link
Member

@hywax hywax commented Oct 24, 2025

πŸ”— Linked issue

Resolves #3089
Closes #3969

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

TimeField, to have an option to create a time field instead of setting input type time.
Uses: https://reka-ui.com/docs/components/time-field as I saw usage of this in other components.

Also based styling and attributes based on the UInput

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@hywax hywax changed the title feat(InputTime): add component feat(InputTime): new component Oct 24, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 24, 2025

npm i https://pkg.pr.new/@nuxt/ui@5302

commit: 6a943d8

@hywax
Copy link
Member Author

hywax commented Oct 24, 2025

@benjamincanac

I have a couple of questions:

  1. What should we do with the "jumping" digits? This happens because the font is not monospace, and the leading digit is removed when it's 0
  2. I still don't understand why the placeholder doesn't work. Maybe it should be declared differently, but I couldn't even get it to work in reka https://stackblitz.com/edit/7edxrz75?file=src%2FApp.vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[InputTime] Implement component

1 participant