Skip to content

Validate numeric form inputs at entry-time (LiteralInput → IntInput)#297

Merged
pauladkisson merged 3 commits intomainfrom
validate-numeric-form-inputs
Apr 27, 2026
Merged

Validate numeric form inputs at entry-time (LiteralInput → IntInput)#297
pauladkisson merged 3 commits intomainfrom
validate-numeric-form-inputs

Conversation

@pauladkisson
Copy link
Copy Markdown
Collaborator

@pauladkisson pauladkisson commented Apr 27, 2026

Summary

Test plan

  • pytest tests/unit/frontend/test_input_parameters.py -v (47 passed)
  • Manually verify in the GUI that typing a non-numeric value into each affected field is rejected at entry-time

🤖 Generated with Claude Code

pauladkisson and others added 2 commits April 27, 2026 09:36
… IntInput

Rejects non-numeric input at the browser level via native <input type="number">
instead of silently reverting to the previous valid value, matching the treatment
already applied to baseline_wd_strt / baseline_wd_end in PR #283.

Closes #291

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@pauladkisson pauladkisson merged commit eb11f20 into main Apr 27, 2026
19 of 21 checks passed
@pauladkisson pauladkisson deleted the validate-numeric-form-inputs branch April 27, 2026 18:04
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.

Validate parameter form inputs at entry-time instead of silently reverting

1 participant