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

Text input fields became uneditable

SA-24241

Summary



User created a section having repeat grid and a Add button. Onclick of add button, a new screen is configured to display text inputs fields and Rich Text Editor (RTE).
After filling and saving all the fields and RTE at last will add a new Row in repeat grid. On click of Add button again a new screen displayed where user has to enter the values but, non of the input fields are editable.

Browser : Internet Explorer 9 issue is noticed, Internet Explorer 11 working as expected.


Error Messages


Not Applicable.


Steps to Reproduce



1. Create section having repeat grid and Add button.
2. On click of add button, a new screen displays.
3. Ensure that the new screen should have the input fields and Rich text editor.
4. Fill all the fields and RTE at last, then click Save.
5. Now click Save, this screen will disappear and new row will be added in grid. Now again click add button.
6. Observe that none of the input fields are editable.


Root Cause



A defect or configuration issue in the operating environment.

RTE focus out event is not triggered properly in Internet Explorer 9, due to which focus is not getting released from RTE.


Resolution



Perform the following local-change ste
  1. Add changes in UserWorkForm.
  2. Modify pega.c.Actions.
  3. Refresh API where specific for Internet Explorer 9, and add the code as:

<script>
var test = function(){ 
if(pega && pega.c && pega.c.Actions){
pega.c.Actions.prototype.refresh = function() {
    
               if(pega.util.Event.isIE = 9){                  
                    $('body').append("<div id='zztempzz'><input type='text' id='zztempinputzz' style='position:absolute;top:-200px;left:-200px;'/></div>");
                    $('#zztempinputzz').focus();
                    $('#zztempzz').remove();                 
               }
 
//....//
​}
}
};

pega.u.d.attachOnload(test,false); 
  </script>
 

 

Suggest Edit

Published June 16, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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