Open
Description
Describe the bug
A user was trying to add purchase information to the End of Intervention section "Describe items, goods, or services paid for through concrete funds", and it would not let them add any purchases. They tried to click on the Add Purchase button and nothing was happening.
To Reproduce
Steps to reproduce the behavior:
- Click Edit Assessment on a CANS
- Go to the End of Intervention tab
- Click on Add Purchase
- See error in console
Expected behavior
The Add Purchase button should be clickable, and when clicked it should display input fields for adding a price and description.
Additional context
TypeError: Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
at nonIterableSpread.js:2:9
at o (toConsumableArray.js:6:95)
at a.value (EndOfIntervention.js:71:29)
at Object.u (react-dom.production.min.js:14:84)
at p (react-dom.production.min.js:14:238)
at react-dom.production.min.js:14:292
at v (react-dom.production.min.js:15:72)
at at (react-dom.production.min.js:52:170)
at it (react-dom.production.min.js:51:255)
at ut (react-dom.production.min.js:52:334)
Zendesk Issues