58 views

Description

Unexpected behavior of the "SC catalog item" widget encountered since Jakarta: While in the "SC Catalog Item" widget, when a user presses the Enter key in an input field, browser attachments dialog opens.

 

Steps to Reproduce

  1. Navigate to https://<instance_name>.service-now.com/sp?id=sc_cat_item&sys_id=38c1fc840a0a0b2700285921c2bf5fc8.
  2. Set focus in any text input field and press Enter.
  3. Notice that this opens the attachment dialog box to select the file

Pressing the Enter key in a variable or field will trigger the last element on the page instead of submit.

Workaround

To resolve this issue, you can use one of the below proposed workarounds:

1. This problem can be resolved by placing the input fields outside the form tag, this will prevent the form from being submitted on pressing enter.

 

2. If the customer is using widget "SC Catalog Item Deprecated", try using the newer version of this widget: "SC Catalog Item"

>>> https://<instance_name>.service-now.com/nav_to.do?uri=sp_widget.do?sys_id=3c29786e87133200e0ef0cf888cb0bdf

 


Related Problem: PRB1189578

Seen In

Jakarta Patch 3

Intended Fix Version

London

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-07-17 06:50:27
Published:2018-07-13