You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Distribution New, if you attempt to save without picking the storage location, and then pick a storage location, the add another item button should be enabled.
Details
Here is a failing sequence, on local, signed in as org_admin1@example.com
Steps
Navigate to new distribution form: http://localhost:3000/distributions/new
Leave all fields blank and click Save -> view will render with validation errors (eg: Storage location must exist, etc)
Fill out the form with valid values for Partner and Storage Location
Fill in the first item and quantity
Click "+ Add Another Item"
Expected: Can keep on adding more items
Actual: "+ Add Another Item" button is disabled and can't add any more
this is probably happening on donation and purchase too, but we haven't confirmed that.
Criteria for completion
Add another item button gets enabled when storage location is chosen, even after initial errors.
Tests to demonstrate this
The text was updated successfully, but these errors were encountered:
Summary
On Distribution New, if you attempt to save without picking the storage location, and then pick a storage location, the add another item button should be enabled.
Details
Here is a failing sequence, on local, signed in as org_admin1@example.com
Steps
Navigate to new distribution form: http://localhost:3000/distributions/new
Leave all fields blank and click Save -> view will render with validation errors (eg: Storage location must exist, etc)
Fill out the form with valid values for Partner and Storage Location
Fill in the first item and quantity
Click "+ Add Another Item"
Expected: Can keep on adding more items
Actual: "+ Add Another Item" button is disabled and can't add any more
this is probably happening on donation and purchase too, but we haven't confirmed that.
Criteria for completion
The text was updated successfully, but these errors were encountered: