Support Article
Single click on pzModalButton does not work
SA-80378
Summary
User enters text in the Input field and clicks the Submit pzModalButton when the cursor is still on the text input field. However, the user must click the Submit button twice to submit the modal dialog.
Error Messages
Not Applicable
Steps to Reproduce
- Add a text input with an onChange post value.
- Open the text input in a modal dialog.
- Enter text.
- Click (without clicking outside) the modal dialog's Submit button directly. The cursor must blink on the text input field while clicking the Submit button.
Root Cause
This behavior is as per Pega product design.
Resolution
Here’s the explanation for the reported behavior:
When an AJAX call is in process, the modal Submit will not proceed.
As a local-change, performing the following:
- Trigger the onChange post.
- Click the modal dialog Submit button.
Published August 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.