OnChange Catalog Client Script loops in the Service Portal


Description

OnChange Catalog Client Script loops in the Service Portal

Release or Environment

All supported releases that use service portal

Cause

OnChange client script is missing "newValue == oldValue" check in condition statement.

Resolution

Add "newValue == oldValue" to the IF condition statement so that the script looks similar to the below example.

if (isLoading || newValue == oldValue || newValue == '')