Support Article

Focus is set to errors when deleting a duplicate item from list

SA-26193

Summary



Whenever validation fails, page set messages are displayed. However, sometimes the focus moves to error messages and sometimes it does not.

Error Messages



Not Applicable

Steps to Reproduce

  1. Design a repeat grid with dropdown and Delete icon.
  2. For dropdown onChange, configure Refresh this section with an activity that sets page set messages.
  3. For Delete icon, configure delete item onClick and refresh this section with an activity, which sets page set messages actions.

Root Cause



A software use or operation error in user configuration.

Resolution



Here’s the explanation for the reported behavior:
It is expected that the refresh section will stay at dropdown when it changes, as element exists in Document Object Model (DOM). But, the last row of delete item will move to the error table. Delete icon does not exist in DOM, and next row does not exist.

Published July 29, 2016

Have a question? Get answers now.

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