Support Article
Validation errors in modal confirmation of grid row delete
SA-18317
Summary
Delete button doesn't delete fields marked as required in repeating grid.
Steps to Reproduce
- Use UI Gallery Gid
- Make all fields required in pxUIGalleryRowEditingWrapper and add a delete button with action
- Add a click event and set local action as action set . Take local action as Delete and target as Modal Dialog
- Next action set Refresh-Other section
- Run Row Editing
- Now Add one row and try to delete
- When you press delete button, the modal dialog opens on pressing delete the validation fires.
Root Cause
An issue in the custom application code or rules .
Resolution
Perform the following local-change:
Create a JS file with the below code and add it in the harness
<script>
var toggleRowSubmission = function(){
if(pega.util.Event.isIE){
if(!window.customClientErrorHandler){
window.customClientErrorHandler = function(){
return true;
};
}
else{
delete window.customClientErrorHandler;
}
}
}
</script>
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.