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(Form): form validation properties #3137

Merged
merged 3 commits into from
Jan 24, 2025
Merged

Conversation

romhml
Copy link
Collaborator

@romhml romhml commented Jan 18, 2025

πŸ”— Linked issue

Resolves #2302

❓ 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

Introduces blurredFields , touchedFields and dirtyFields to the Form exposed attributes. Also refactors the validation logic to rely on these variables and improved typings for exposed functions.

πŸ“ Checklist

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

@romhml romhml changed the title feat(Form): expose form validation properties feat(Form): form validation properties Jan 18, 2025
Copy link

pkg-pr-new bot commented Jan 18, 2025

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

commit: 12aa548

@romhml romhml requested a review from benjamincanac January 18, 2025 11:09
Copy link

cloudflare-workers-and-pages bot commented Jan 18, 2025

Deploying ui3 with Β Cloudflare Pages Β Cloudflare Pages

Latest commit: 12aa548
Status:Β βœ…Β  Deploy successful!
Preview URL: https://c1cd8ca8.ui-6q2.pages.dev
Branch Preview URL: https://feat-form-validation-state.ui-6q2.pages.dev

View logs

@benjamincanac benjamincanac merged commit c0b485d into v3 Jan 24, 2025
3 checks passed
@benjamincanac benjamincanac deleted the feat/form-validation-state branch January 24, 2025 18:10
@itpropro
Copy link

Thanks for adding this @benjamincanac πŸ₯³

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.

Form validation properties
3 participants