Support Article
Tooltip for DateTime properties is not working
Summary
Tooltip is not displayed for date/time field using DateTime control.
Error Messages
Not Applicable
Steps to Reproduce
1.Create a DateTime Field and refer it in a Section.
2.Provide a Tooltip for that property using Field Name and Field Value.
3.While running, the tooltip displays only the name(specified by Field Name) of the tooltip not the localized text(specified by Field Value).
Root Cause
A defect in Pegasystems’ code or rules as pxDatetime has no tooltip configurable option.
Resolution
Apply the following local-change steps to address the issue:
1. Go to pxdate time configurations > Presentation > -Advanced Presentation Options.
2. Add a custom css class for your date time (Cell read-write classes) or Cell read-only classes) , .CustomDateTime.
3. Add the below snippet in the custom css file on the harness:
.CustomDateTime :hover:after {
content: "Your tooltip";
display: block;
position: relative;
top: -16px;
right: -16px;
width: 100px;
}
(OR)
Create the Field Value with the Field Name of “pyCaption”.
Published September 12, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.