Open
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle or a shared playground link demonstrating the issue.
What theme are you using?
core
Version
5.1.0
Current Behavior
If you have a required nested field inside below the root level, the validation won't take effect until you interact with the corresponding field. The issue I currently have is when you type something in a nested field and then delete it, the validation errors of the nested field will not go away.
Expected Behavior
The validation errors of the nested field shouldn't remain if all the nested fields are empty.
Steps To Reproduce
- use the Demo Link
- type something in the "nested_field" field
- delete what you wrote
- Click "submit"
Environment
- OS:macOS
- Node:16.17.0
- npm:8.15.0
Anything else?
No response