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

Fix Date Validation Error in Form #229

Merged
merged 3 commits into from
Dec 26, 2023
Merged

Conversation

Photon3009
Copy link
Contributor

Description

The validator functions for FormField widgets return either null or a string, indicating validity. If a validator returns a string, the form is considered invalid. The issue arises from the buildDueDate widget, which consistently assigns a string value to the controller. I debugged the TextEditingController and removed unnecessary use of errorText in the widget

Fixes #226

Screenshots

Screenshot_1703499059

Checklist

  • Code follows the established coding style guidelines
  • All tests are passing

@Photon3009
Copy link
Contributor Author

@Pavel401 please review this!

Copy link
Member

@Pavel401 Pavel401 left a comment

Choose a reason for hiding this comment

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

LGTM!

@Pavel401 Pavel401 merged commit 3671651 into CCExtractor:main Dec 26, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Validation error show before clicked "Add" button
2 participants