I noticed an issue during regression tests. When one tries to add a facility type without choosing it in the "Add Requisition Template" modal, it gets added to the table either way, causing a console error. When one tries to remove it, it stays there, and the second console error, as visible on the screenshot, occurs.
Log into the application as administrator.
Navigate to Administration > Requisition Templates.
Click the "Add Requisition Template" button.
Click the "Add Facility Type" button without selecting any facility type.
An entry appears in the table with facility types, causing the first console error.
Click the "Remove" button.
The entry isn't removed, and the second console error occurs.
User cannot click Add Facility button until a Program and Facility Type are selected.