Skip to content

HTML tooltip on form fields#2145

Open
seesack wants to merge 1 commit into
releases/25.2from
features/osc/25.2/enable-HTML-in-tooltips-on-form-fields
Open

HTML tooltip on form fields#2145
seesack wants to merge 1 commit into
releases/25.2from
features/osc/25.2/enable-HTML-in-tooltips-on-form-fields

Conversation

@seesack
Copy link
Copy Markdown
Member

@seesack seesack commented Apr 15, 2026

No description provided.

@seesack seesack requested a review from cguglielmo April 15, 2026 12:16
@seesack seesack self-assigned this Apr 15, 2026
Copy link
Copy Markdown
Member

@cguglielmo cguglielmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please add specs
  • The SequenceBox pulls the tooltip from the last field up, this property should be pulled up as well, otherwise the tooltip content would be encoded if the field is the last field in a SequenceBox.
  • Please add a checkbox for the new property in the JS-Widgets-App

The field status creation changed with 26.1. I created a PR for 26.2 with the necessary adjustments and also added specs. However, the changes for the SequenceBox are still open: #2158

this._updateTooltip();
}

/** @see FormFieldModel.tooltipText */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The JS doc should link tooltipHtmlEnabled not tooltipText

}

/** @internal */
_renderTooltipHtmlEnabled() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use protected instead and remove the internal JS doc because it is not used from outside of the class.

parent: this,
$anchor: this.$container,
text: this.status.message,
htmlEnabled: this.tooltipHtmlEnabled,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also call the setter after line 196 so it can be changed while the tooltip is open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants