-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Environment:
Camunda 7.16 with Spring Boot Starter
Description:
I think this might be a fairly similar issue to CAM-13803. If we have a form with a boolean field, and on a subsequent form (eg a review-type form) have the same field as boolean with a readonly constraint, you cannot submit the form. On submit of the form with the readonly boolean, you'll get a validation error:
An error happened while submitting the task form : Cannot submit task form [id]: Invalid value submitted for form field '[field]': validation of readonly failed.
Steps to reproduce (Required on creation):
2-step sample BPMN file attached, prompts for various form field types on the first user step, shows them readonly on the second, submission of the second fails with the validation error as shown:
Observed Behavior:
Readonly form field validation incorrectly triggers for readonly boolean field
Expected behavior:
Form can be submitted without error