Notifications

152 views

Description

If an HTML field is set to read only from the dictionary, the field does not resize the height fully to display all contents

Steps to Reproduce

1. Create a new HTML field on the incident table and tick the "Read only" flag
2. Create an onchange client script with the following:

Table: Incident
UI Type: All
Field name: Category
Script:

function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}

//Type appropriate comment here, and begin script below
var longstr = ''; // put in a really long string around 500 words or over 2000 characters

if (newValue == "software") {
g_form.setValue(<name of read only HTML field>, longstr);
}
}

3. Open any incident record and change the Category to "Software"

Expected behavior: The read only HTML field should auto resize the height to display all contents

Actual behavior: The read only HTML field does not auto resize the height to display all contents. It only displays the first line of text

Workaround

This problem has been fixed. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

 


Related Problem: PRB1333912

Seen In

SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - PA Premium Integration - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3

Fixed In

New York

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-09-02 05:41:59
Published:2019-07-10