Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1.  Use UI Gallery Gid 
  2.  Make all fields required in pxUIGalleryRowEditingWrapper and add a delete button with action 
  3.  Add a click event and set local action as action set . Take local action as Delete and target as Modal Dialog 
  4.  Next action set Refresh-Other section 
  5.  Run Row Editing 
  6.  Now Add one row and try to delete 
  7.  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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us