Skip to content

RCF-815: Validate manual age input#1030

Open
officialasishkumar wants to merge 1 commit into
mosip:developfrom
officialasishkumar:RCF-815-age-validation
Open

RCF-815: Validate manual age input#1030
officialasishkumar wants to merge 1 commit into
mosip:developfrom
officialasishkumar:RCF-815-age-validation

Conversation

@officialasishkumar
Copy link
Copy Markdown

@officialasishkumar officialasishkumar commented Apr 29, 2026

RCF-815

Fixes #942

Summary

  • Added validation for manually entered age values in the DOB/age control.
  • Reject non-whole-number input such as negative or decimal values with the existing invalid input message.
  • Prevent ages above the configured maximum from deriving or saving a DOB and show the existing maximum-age validation message.

Validation

  • git diff --check

Flutter/Dart tooling was not available in the local shell, so formatter/analyzer checks could not be run locally.

Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

Warning

Rate limit exceeded

@officialasishkumar has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 60 minutes before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 9e7762a6-d994-4d87-8254-9ac39b93ea6c

📥 Commits

Reviewing files that changed from the base of the PR and between 0ef1091 and e50a29f.

📒 Files selected for processing (1)
  • lib/ui/process_ui/widgets/age_date_control.dart
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant