When a form field is dynamically added to a form using @EventListener//ResponseBuilder and the form is submitted, the validation on the new field works correctly. But when the field is removed using the same technique, the removed field still gets validated on the next submit.
The attached project reproduces this issue.
|Field||Original Value||New Value|
|Assignee||Jesse Kuhnert [ jkuhnert ]|
|Fix Version/s||4.1.1 [ 12312021 ]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Workflow||jira [ 12382066 ]||Default workflow, editable Closed status [ 12567843 ]|
|Workflow||Default workflow, editable Closed status [ 12567843 ]||jira [ 12590972 ]|