-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix: Make submit button enabled when required fields are filled by default #386
Conversation
🦋 Changeset detectedLatest commit: 2edff7a The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Reviewer's Guide by SourceryThis PR fixes a bug where the submit button remains disabled even when required form fields have default values. The implementation modifies the form validation logic to properly handle default values and maintain the required fields state. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @SalihuDickson - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider refactoring the empty if block with eslint-disable. The logic could be more clearly expressed by combining the conditions rather than using an empty block.
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
hey @anuragxxd, please take a look at this. |
Description
Fixes #385
Checklist
This fixes the issue where the submit button is disabled when required fields are filled by default
Comments
Summary by Sourcery
Bug Fixes: