Posted: 13 Aug 2018 7:05 EDT Last activity: 14 Sep 2018 4:53 EDT
Pega UI - Submit button - Preventing to change button label after submitting form
I have a problem with the default Submit button UI component. When you click it to submit the form, the label change from whatever it was before to "Submitting". Is there a way to keep the default label or to change the "Submitting" label to something else ? My customer doesn't want to see the label change at all.
Thanks for your help.
***Moderator Edit-Vidyaranjan: Updated SR details***
The text for Submit button comes from the field value lookup (pyButtonLabel, Submit). You can override the field value record to display different value. Use the references to know where it is been used. Changing the text on different flow actions using the default perform harness is not that straightforward.
I guess HTML Fragment HarnessString_ButtonSubmit is been called. You can enable to stream rules in tracer and validate the label change.