Bug description:
Admin can create a webhook without selecting the data from the checkboxes to be contained within the webhook payload
Steps to reproduce:
- Click Configuration > Integrations
- Click the Create client button
- Enter a name for the client
- Select Webhook as the type
- Leave the checkboxes for type of data for birth and death unselected
- Click the Create button
- Observe
Actual result:
- The Create button is active without selecting any data to be contained within the webhook payload
- The webhook is created without selecting any data to be contained within the webhook payload
Expected result:
- The Create button should be disabled if there is no selection of data (births / deaths) to be contained within the webhook payload
- The webhook should not be created without selecting any data to be contained within the webhook payload
Environment:
https://login.farajaland-qa.opencrvs.org/
Version:
v1.5.0
Screenshots
