Loading

Label Visibility Issues With Long Text in OmniScript Elements

Fecha de publicación: Mar 8, 2026
Descripción

When OmniScript elements contain labels or option values with long text (approximately more than 110 characters), the text may not display correctly in some scenarios.

Common observations include:

  • Text Input and Select element labels may be truncated or not fully visible when previewing the OmniScript, especially in the Newport theme.
  • Select element option labels may also appear truncated when the text length exceeds the available display space.
  • In mobile view, long labels may appear truncated with ellipses (...) or may appear misaligned instead of wrapping to the next line.

Steps to Reproduce (Example):

  1. Navigate to OmniScripts from the App Launcher.
  2. Open an existing OmniScript or create a new one.
  3. Add a Text Input or Select element.
  4. Enter a label or option value with more than 110 characters.
  5. Preview the OmniScript (for example in Newport theme or mobile view).

The label or option value may appear truncated or not fully visible.

Screenshot 2024-03-26 at 6.23.01 AM.png

Solución

This behaviour can occur due to UI layout limitations when displaying long text in certain OmniScript themes or views.

Possible approaches include:

1. Use Text Block for Long Labels
If a label contains long descriptive text, consider using a Text Block element to display the text and then place the Input/TextArea element below it.

2. Override CSS for Select Elements (Managed Runtime)
If Managed Runtime is enabled, the label wrapping behavior can be adjusted by overriding CSS.

Example CSS for Select labels:

label.slds-form-element__label[omnistudio-combobox_combobox_slds]{
white-space: normal !important;
}
 

Example CSS for Select option values:

.slds-listbox__option-text_entity[omnistudio-combobox_combobox_slds] {
white-space: normal !important;
}

 

These approaches can help ensure that long labels or option values display more clearly within OmniScript interfaces.

Número del artículo de conocimiento

001622587

 
Cargando
Salesforce Help | Article