Skip to main content

resolveButtonTooltip()

function resolveButtonTooltip(btn, validationResult): string;

Resolve button tooltip text after applying validation feedback.

Disabled, pending, and blocked validation messages take priority. A tooltip that duplicates the visible button label is omitted.

Parameters

ParameterType
btnBtn
validationResultValidationResult

Returns

string