Approved
Last Updated: 03 Jun 2019 14:08 by ADMIN
Cristal
Created on: 31 May 2019 13:50
Category: ToolTip
Type: Feature Request
2
title="Close" is hardcode in tooltips

Hi
in the file kendo\2019.1.220\kendo.tooltip.min.js, the title is hardcode. 

{# <div class="k-tooltip-button"><a href="\\#" class="k-icon k-i-close" title="Close"></a></div> #}
So everytime we use a tooltips that need the x to be closed, we can see a tooltip showing.

We found three way to remove it,
the first one, on the show event of a tooltips, we target the element and removed the title attribute, but that mean that we have to do this for all the tooltips we already use.
The second one, bind an event on click on the document and target the tooltips to remove it. Meaning that we have to listen to all the click on the page.
The third one would be to edit the js file, and not forget to do it every time we update Kendo.
All the above would work, but It means that we have to take an extra step every time. Could It be removed from the original code or at least work with the culture that we use(kendo.culture.fr-CA.min in our case) ?

It cause problems because the web app that we are developing is in french.

 

Thank

1 comment
ADMIN
Ivan Danchev
Posted on: 03 Jun 2019 14:08
Hi,

Currently the kendo.culture files do not translate the close button's tooltip. This is valid not only for the Tooltip, but also for other widgets that have close buttons, for example AutoComplete, ComboBox, MultiSelect.

I converted this thread to feature request and made it visible in our Feedback Portal. Based on the support it gets by the community it could get approved by the team and implemented in a future release. Until then, you could modify the js file and remove the title attribute or change its value so that it is displayed in french.

Regards,
Ivan Danchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.