bhits / consent2share

Set up Consent2Share Including Infrastructure and Applications
https://bhits.github.io/consent2share/
Apache License 2.0
40 stars 10 forks source link

C2S v2 :: Patient Portal :: Create Consent :: Share All/Share with Exception Option :: Radio Button Doesn't Automatically Switch Back To 'Share All' When Canceling Modal With Nothing Selected #7

Open speabody opened 7 years ago

speabody commented 7 years ago

Actual Behavior: On the create consent page, if you click the "Share With Exception" option a modal pops up for you to select what not to share. If you click "Cancel" in that modal and nothing is selected, when the modal closes the "Share With Exception" radio button remains selected. Even though "Share With Exception" is still selected, since no options were selected in the modal of what not to share, if you create the consent it will be created as a "Share All" consent. This can mislead the user into thinking that they selected "Share With Exception" when effectively they created a "Share All' consent.

Note that this bug exists in the BHITS demo server, the BHITS QA server, the dev environment, and the CORHIO environments.

See the "Steps To Reproduce" tab for detailed steps and screenshots.

Expected Behavior: If the modal is canceled and no selections in the modal had been previously saved, the share radio button is supposed to automatically switch back to select the "Share All" option.