Validation error messages of components in modal edit mode are not displayed outside the modal
Describe the bug Validation error messages of fields in modal edit mode are not displayed outisde the modal
Version/Branch
@formio/js: 5.1.0
Also reproduceable on the playground
To Reproduce Steps to reproduce the behavior:
- Go in the playground
- Add a number component
- select the "Modal Edit" Option in the Display tab
- In the Validation tab, set the minimum value to 5
- Save the component
- In the rendered form, click on the "Edit Value" and enter the value 3
- The error message should appear, click on save
- The error message is no longer displayed
Expected behavior The error message should be displayed under the component
Screenshots The error message in the component:
The error message is missing after clicking save:
Additional context when checking the form validity, the form appears to be invalid, so it seems that the issue is only in the display of the error message
Thank you for reporting this issue. I can reproduce it and have logged a ticket for the backlog. We are always willing to review any contributions from the open-source community to resolve this issue.
For internal reference: FIO-10331