Validation does not trigger on collapsing a grid record
Validation does not trigger on collapsing a grid record. However, validation is triggered on expanding a row.
Steps to Reproduce
- Configure an expand or a collapse grid.
- In the expanded section, configure fields with validations.
The same section is present twice in the Document Object Model (DOM). The text input property is also present twice with the same name and ID attributes. A value is entered for one element. Since the other element though not visible on the screen has an value empty, this empty value is passed on click of the 'Submit' button. This resulted in Validation errors.
Perform the following local-change:
Uncheck the 'Run visibility condition on client' on both the dynamic layout's Visibility condition.
0% found this useful