Skip to content

Conversation

@kabaros
Copy link
Contributor

@kabaros kabaros commented Dec 31, 2025

This PR adds support for min/max validation

fixes https://dhis2.atlassian.net/browse/DHIS2-20577

min-max-values.webm

ps: one limitation is that the warning doesn't show if a limit was added on field until the form is refreshed - this is, though, the same behavior as the old legacy app, and the new app.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
35 New issues
17 New Critical Issues (required ≤ 0)
35 New Code Smells (required ≤ 0)
1 New Blocker Issues (required ≤ 0)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@dhis2-bot
Copy link
Contributor

🚀 Deployed on https://pr-502--dhis2-data-entry.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify December 31, 2025 17:04 Inactive
@kabaros
Copy link
Contributor Author

kabaros commented Dec 31, 2025

min/max validation doesn't seem to work smoothly on the new app after refreshing, i.e. the yellow background doesn't show on refresh, something we should investigate separately. It also doesn't seem to work on section forms.

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.

3 participants