"Add to Contact Summary Page" cannot be turned off
Overview
After enabling the "Add to Contact Summary Page" option and then disabling it, the form remains visible on contact records.
Reproduction steps
- Administer | Custom Data and Screens | Formbuilder | Search Forms
- Edit one of the listed forms, e.g. Administer Payment Processors.
- Select "Add to Contact Summary Page"
- Save
- Open a contact record and observe that the Administer Payment Processors form is visible on the Summary page.
- Return to editing the form, and deselect "Add to Contact Summary Page"
- Save
- Refresh the contact Summary page page.
Current behaviour
The form remains displayed on contact Summary pages, even after "Add to Contact Summary Page" has been unselected.
Expected behaviour
The form should not be displayed on Contact records after "Add to Contact Summary Page" has been unselected.
Environment information
https://dmaster.demo.civicrm.org (5.62.alpha1)