Bug description:
'Make correction' button stays enabled (with no option chosen) if we choose an option from 'Fees required?' and go to previous page and then navigate back to the Correction Summary page.
Steps to reproduce:
Login as Local Registrar.
Download a record and click on 'Correct Record' from the record audit page.
Select any option in the "correction requester' page and navigate to the Record Review page.
Change any information and click 'Continue'
Navigate to the Correction Summary page by selecting any option in the 'Upload supporting documents' and 'Reason for correction' page.
In the correction summary page, scroll down to 'Fees required?' and select 'No'. Observe that the 'Make correction' button is enabled.
Navigate back to the 'Reason for correction' page by clicking back button.
Navigate to the Correction Summary page again.
Observe the 'Fees required?' options and the 'Make Correction' button.
Actual result:
No option in 'Fees required?' is selected and the 'Make correction' button is enabled.
'Make correction' button doesn't open any 'Correct Record?' modal when clicked.
Expected result:
-> The 'Make correction' button should be disabled.
-> When clicked, 'Make Correction' button should open a 'Correct record?' modal.
Bug description: 'Make correction' button stays enabled (with no option chosen) if we choose an option from 'Fees required?' and go to previous page and then navigate back to the Correction Summary page.
Steps to reproduce:
Actual result: No option in 'Fees required?' is selected and the 'Make correction' button is enabled. 'Make correction' button doesn't open any 'Correct Record?' modal when clicked.
Expected result: -> The 'Make correction' button should be disabled. -> When clicked, 'Make Correction' button should open a 'Correct record?' modal.
Screenshot/Recording:
https://github.com/opencrvs/opencrvs-core/assets/113257751/81fac7cb-c70e-4287-a4dc-57b31313c7d1
Tested on: https://login.farajaland-qa.opencrvs.org/
Version: V1.5.0