SmartInfo not rendered on text hover with negative number format
SummarySmart Info is not rendered on hovering over a cell in repeating grid layout ,when Negative format is configured as “Minus Sign + Style ref”
Error MessagesNot Applicable
Steps to Reproduce
- Add property with negative number value in a section rule with Formatted Text control.
- Format negative number with Negative Number + Minus Sign in Presentation tab.
- Configure On Hover Smart Info on the formatted text control.
- Run case and hover on the negative number.
Root CauseA defect in Pegasystems’ code or rules :-
If text is configured with negative number format, then a new Span element is generated with negativeformat style class.Parent of Span element has onhover event.
Span element generated for Negative number does not have data-hover attribute. At run time processBehavior API is called(set on immediate parent element), it checks for parameter that is the data-hover attribute. From current element it checks if data-hover has "..." value or not .Based on the number of dots, it traverses back to the parent element where actual smartInfo hover event is configured.Since it is not finding any data-hover in current element, API failing and smartinfo does not show up.
ResolutionPerform the following local-change:
Add below script in non-auto section and keep that section in section where issue coming.<script>
Published May 22, 2017 - Updated June 9, 2017