Support Article
Tooltip for Date picker not localized
SA-91781
Summary
When configuring a Date picker, the Helper text is configured as 'Icon with an overlay on hover'. At runtime, the Tooltip displays the name of the Helper text field value instead of the localized value.
Error Messages
Not Applicable
Steps to Reproduce
- Configure a Date picker on a section with the Helper text set to 'Icon with an overlay on hover'.
- Enter the name of the field value containing the Helper text value.
- Configure the corresponding field value for pyCaption.
- Open the section at runtime.
Root Cause
Helper text is configured with an icon. The source for the Helper text value is a field value. During runtime, the localized value is not rendered for the Helper text. The field value is created with pyCaption instead of pyTooltip for the Helper text and Tooltip.
Resolution
Perform the following local-change:
- Create the Field value for Helper text and Tooltip with pyTooltip instead of pyCaption.
- Use the corresponding pyTooltip file and not the pyToolTip (upper case T in the middle) file.
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.