Read Only HTML Catalog Variable not expanding

litchick10
Tera Guru

I am auto populating a catalog variable with HTML Instructions, the problem is I cannot get the variable to auto expand.  (see image). It is in the right hand column of a container but the container is much longer than the field.

litchick10_0-1718307699913.png

There are no UI policies for this field other than read only. I have tried the following onload script (the message says g_sc_form: g_form is not supported) and it doesn't work:

function onLoad() {
var form = typeof g_sc_form != "undefined" ? g_sc_form : g_form;
var myControl = form.getControl("instructions_lbl");
myControl.style.height = '5000px';
   
}

Any ideas?

2 REPLIES 2

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @litchick10 

What was the default width of Variable in Type specifications.

Also, Can you try setting below property.

sys property=glide.ui.html.editor.v5.enabled_plugins To "autoresize

 

Please Mark this answer as helpful and correct if helped.

Kind Regards,

Ravi Chandra.

I did set the sys property to autoresize and it did not change the behavior.  The type width of the variable is set to 100% (default)

litchick10_0-1718382203108.png