EasyUI Forum
September 14, 2025, 06:29:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How can i deactivate the tooltip for an validatebox?  (Read 9442 times)
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« on: March 12, 2014, 02:38:58 AM »

I have a combobox where the input is required.
But i don't will have a tooltip message.

Can i deactivate the tooltip for this special comboboxes?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: March 12, 2014, 07:18:24 AM »

Why don't have the tooltip message? It can display what errors occurring. If you really want to hide the tooltip message for a combo box component, please try the code below:
Code:
$(function(){
$('#cc').combobox('textbox').validatebox('options').tipOptions = {
onShow: function(){
$(this).tooltip('tip').hide();
},
onHide: function(){
$(this).tooltip('destroy');
}
}
})
Logged
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« Reply #2 on: March 21, 2014, 05:47:06 AM »

Why don't have the tooltip message? It can display what errors occurring.

Yes it's correct, but we show an Icon for required input text fields so that is enough in some cases.

I think there should be an global parameter for validateboxes to deactivate the tooltip message,
so that only the icon for validate box is shown. In example we would use that on comboboxes to show this is an required field.
« Last Edit: March 21, 2014, 05:55:11 AM by Stefan B. » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!