Error message is not being displayed properly
Error message is not being displayed properly on UI. In the first page, error messages are displayed in the required columns, but in the remaining pages the error messages are displayed at the top and bottom of the UI instead of displaying near the required columns.
Steps to Reproduce
1.Create a repeating grid and add "Save" button next to each row.Also add "+" button in action button section to add New Row on click.
2.Configure pagination in grid.
3.On-Click of save button configure "Refresh Section Run Activitiy".
4.Activity first does property validation and if no validation error is there then saves data .
5.Run the case and click on "+" button on first page of grid.
6.Without adding data in row click on save button.Observe that error messages are coming at field level.
7.Go to page2 of grid and again click on add row icon.Then without providing any value click on save button.
8.Observe that error messages are coming at top of the grid section and grid pagination moves to Page1.
A software use or operation error. Following are the reasonal steps:
1.As per design, if we do"Refresh Section" on button click , then it will reload the complete section (in this case section containing the grid).
2.Because of refresh section, grid section is getting reloaded and moving to Page 1 of pagination option.
3.Since pyWorkPage has error messages added as part of grid validation, it shows them as Page level messages on top of the section after refresh is done.
Perform the following local-change:
1.Open Operation tab of repeating grid configuration panel and go to advanced configuration present below.
2.Select the check box for "Run activity after grid update" and use custom activity.
3.Add steps to do the necessary check and validations.
4.On click of save button add "On Click event - Run Activity" to save the details and "Refresh Current Row".
0% found this useful