bcgov / bcgov/cas-reporting

Improvement: Add field validation on production data page

Open
#868 1 comment 0 reactions 0 assignees View on GitHub
Task
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

#### Describe the task
users should not be allowed to have annual production be less than their production for Apr-Dec
Image

#### Acceptance Criteria
Given I am on the production data page
When I enter a value in the field: production data for apr 1-dec 31 field that is larger than the annual production,
Then I get an error message: Must be greater than annual production

#### Definition of Done

- [ ] first
- [ ] second
- [ ] third

#### Additional context

- Add any other context about the task here.
- Or here

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the production data page and reproduce the case where the Apr 1-Dec 31 production value exceeds annual production. Add the specified validation message, then verify that the error appears for that case and that valid values remain accepted.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.