Skip to content

Conversation

romhml
Copy link
Member

@romhml romhml commented Jun 26, 2025

πŸ”— Linked issue

Resolves #3983

❓ 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

Adds the defaultValue prop for the Input and Textarea components for consistency with other inputs. It uses useVModel from '@vueuse/core` to match Reka UI's implementation.

πŸ“ Checklist

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

@romhml romhml requested a review from benjamincanac as a code owner June 26, 2025 16:12
@romhml romhml changed the title feat(Input,Textarea): add defaultValue prop feat(Input,Textarea): add defaultValue prop Jun 26, 2025
@romhml romhml force-pushed the feat/input-default-value branch from d92fe0a to bf4395f Compare June 26, 2025 16:16
Copy link
Contributor

nuxthub-admin bot commented Jun 26, 2025

βœ… Deployed ui3

Deployed ui3 8196102 to preview

πŸ”— feat-input-default-value.ui-6q2.pages.dev
πŸ“Œ a50cbb31.ui-6q2.pages.dev
πŸ“±
View QR Code QR code linking to deployment URL.

πŸ“‹ View deployment logs

Copy link

pkg-pr-new bot commented Jun 26, 2025

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

commit: 8196102

@benjamincanac benjamincanac changed the title feat(Input,Textarea): add defaultValue prop feat(Input/Textarea): add default-value prop Jun 30, 2025
@benjamincanac benjamincanac merged commit fb9e7bb into v3 Jun 30, 2025
8 checks passed
@benjamincanac benjamincanac deleted the feat/input-default-value branch June 30, 2025 13:04
@benjamincanac benjamincanac added the v3 #1289 label Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 #1289
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default values are not loaded in the v-model
2 participants