Read Only HTML Catalog Variable not expanding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 12:47 PM
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.
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 02:31 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2024 09:23 AM - edited 06-14-2024 09:24 AM
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)