Skip to content

Print button automatically disables after click #10953

@Sh3zza

Description

@Sh3zza

Describe the bug
We have included a Print Declaration Summary button in the Summary review page for record.declare scope.
The button becomes automatically disabled after it is clicked.
We would like it to remain in Enabled state - as there may have been an issue with the printer or used incorrect paper, etc.

According to the System Integrator (SI - Deoitte), this behaviour is not configurable: the button cannot remain enabled after being clicked. However, from a user flow and usability perspective, the button should ideally remain enabled to allow multiple prints or reprints.

Expected Behaviour

Note: There is also an Upload button (Step 2) to upload the declaration page after it has been reviewed and signed. This is disabled by default and becomes enabled after the Print button (Step 1) is clicked. This functionality currently works.

  • Step 1 button should remain enabled even after being clicked, allowing multiple prints if needed.
  • Step 2 button should still only become enabled after Step 1 has been clicked at least once.

See default screenshot:
Image

After clicking screenshot:
Image

Code review

The button status is disabled when alreadyPrinted

Image

Tech tasks

  • Lets entirely remove this alreadyPrinted prop entirely in 1.9.1 so it cant be disabled

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Status

Completed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions