Skip to content

fix(DHIS2-16608): enforce setting validators and reject invalid saves#1478

Open
Chisomchima wants to merge 2 commits intomasterfrom
DHIS2-16608-settings-field-validation
Open

fix(DHIS2-16608): enforce setting validators and reject invalid saves#1478
Chisomchima wants to merge 2 commits intomasterfrom
DHIS2-16608-settings-field-validation

Conversation

@Chisomchima
Copy link
Copy Markdown
Member

  • Add shared buildValidatorsForMapping with min/max range checks
  • Block saveKey when validation fails so bad values are not persisted
  • Forward TextField onChange to FormBuilder for correct blur validation
  • Add positive_number validator for credentialsExpiresReminderInDays

- Add shared buildValidatorsForMapping with min/max range checks
- Block saveKey when validation fails so bad values are not persisted
- Forward TextField onChange to FormBuilder for correct blur validation
- Add positive_number validator for credentialsExpiresReminderInDays

Made-with: Cursor
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 5, 2026

@dhis2-bot
Copy link
Copy Markdown
Contributor

🚀 Deployed on https://pr-1478.settings.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify April 5, 2026 14:14 Inactive
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.

2 participants