-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WasteLine form conditionals #582
WasteLine form conditionals #582
Commits on Aug 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ef70658 - Browse repository at this point
Copy the full SHA ef70658View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1a6818 - Browse repository at this point
Copy the full SHA d1a6818View commit details -
convert epaWaste to controlled field
We need to be able to read the state of the field 'epaWaste' in order to conditionally display/disable other fields.
Configuration menu - View commit details
-
Copy full SHA for e12d59e - Browse repository at this point
Copy the full SHA e12d59eView commit details -
add zod validation schemas for dotInformation field and add as nested…
… field in WasteLine while the dotInformation is optional if the shipement is not dotHazardous, we've also added a refine method to the wasteline schema so if dotHazardous is true, both fields in dotInformation is required
Configuration menu - View commit details
-
Copy full SHA for 88dc639 - Browse repository at this point
Copy the full SHA 88dc639View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4011800 - Browse repository at this point
Copy the full SHA 4011800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72baa1a - Browse repository at this point
Copy the full SHA 72baa1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cd49ff - Browse repository at this point
Copy the full SHA 3cd49ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99c9ef3 - Browse repository at this point
Copy the full SHA 99c9ef3View commit details -
add refinement that waste description is required if the waste is not…
… DOT hazardous material
Configuration menu - View commit details
-
Copy full SHA for 93b6332 - Browse repository at this point
Copy the full SHA 93b6332View commit details -
update logic for dotHazardous and epaWaste switches
here's our logic, if dotHazardous then epaWaste can be true or false. However, if epaWaste is True then dotHazardous must be true
Configuration menu - View commit details
-
Copy full SHA for 91e967f - Browse repository at this point
Copy the full SHA 91e967fView commit details
Commits on Aug 30, 2023
-
add callback function to toggle epaWaste and dotHazardous with unit test
epaWaste and dotHazardous field depend on each other if epaWaste is true, then dotHazardous must be true. Converse, if dotHazardous is false, epaWaste must be false
Configuration menu - View commit details
-
Copy full SHA for 911407b - Browse repository at this point
Copy the full SHA 911407bView commit details -
add integration test showing that when epaWaste is false, federal was…
…te code select is disabled
Configuration menu - View commit details
-
Copy full SHA for 3eb0645 - Browse repository at this point
Copy the full SHA 3eb0645View commit details -
when epaWaste is set to false, all federal waste codes are removed fr…
…om the wasteline
Configuration menu - View commit details
-
Copy full SHA for 319f5e9 - Browse repository at this point
Copy the full SHA 319f5e9View commit details