Describe the bug
When a signature widget is configured as a Strict Required item, it allows the user to clear the canvas. This should not be permitted. The blank canvas is not actually submitted back to us, but the existing image is no longer present on the screen in the current form session after the clear action.
Expected behavior
The user should either not be able to click the clear button for a strict required signature widget (or other file type) or doing so should lead to an alert the item cannot be cleared.
Similarly, for drawing items that allow the undo action, the user should not be able to undo back to a blank canvas if the item is strict required.
Screenshots
Additional context
Add any other context about the problem here.
Describe the bug When a signature widget is configured as a Strict Required item, it allows the user to clear the canvas. This should not be permitted. The blank canvas is not actually submitted back to us, but the existing image is no longer present on the screen in the current form session after the clear action.
To Reproduce
sig_widget_strict_xform.txt
Expected behavior The user should either not be able to click the clear button for a strict required signature widget (or other file type) or doing so should lead to an alert the item cannot be cleared.
Similarly, for drawing items that allow the undo action, the user should not be able to undo back to a blank canvas if the item is strict required.
Screenshots
Additional context Add any other context about the problem here.