Implement functionality for the edit/validate button in Validation pages
Closed this issue · 0 comments
salomondush commented
Implement the functionality needed for the edit/validate button when clicked on validation pages
Suggested steps:
- return
DailyReportForm
component and populate its states with information from the report object - display a
validate
button instead ofsave/submit
, which takes care of validating the report - return to the validation pages with other reports after
validate
is clicked.
There are functions that may help reset all states with report information already implemented, except that they set to their defaults. You just have to change that to information from the reports
The rest of the implementation is open-ended and so is up to you.