Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Input/Textarea): allow null value in model #3415

Merged
merged 2 commits into from
Mar 7, 2025

Conversation

ivanmaxlogiudice
Copy link
Contributor

πŸ”— Linked issue

❓ 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

Allow null values in UInput & UTextarea.
Added nullify model modifier to return null if the field value is falsy.

πŸ“ Checklist

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

Sorry, something went wrong.

Copy link

pkg-pr-new bot commented Feb 28, 2025 β€’

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

commit: cf9e9cf

@benjamincanac benjamincanac requested a review from romhml February 28, 2025 09:53
Copy link
Collaborator

@romhml romhml left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@benjamincanac benjamincanac changed the title feat: allow null values in UInput & UTextinput feat(Input/Textarea): allow null value Mar 7, 2025
@benjamincanac benjamincanac changed the title feat(Input/Textarea): allow null value feat(Input/Textarea): allow null value in model Mar 7, 2025
@benjamincanac benjamincanac merged commit cfe9b2e into nuxt:v3 Mar 7, 2025
2 checks passed
@benjamincanac benjamincanac added the v3 #1289 label Mar 8, 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.

None yet

3 participants