Bootstrap-select: disable/remove title attribute

Created on 5 Mar 2014  路  2Comments  路  Source: snapappointments/bootstrap-select

Is there a way to remove/disable the title attribute?

wontfix

All 2 comments

Not supported.

I used:

$.fn.selectpicker_remove_title = function() {
  $(this).next().children().removeAttr('title');
};

var $sel = $(...).selectpicker();
$sel.selectpicker_remove_title();
$sel.change($.fn.selectpicker_remove_title);

Removing the tile is currently not supported (the default is to mirror the html behaviour). However, you can set selectedTextFormat to 'static' to prevent the title from being updated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dacavcosta picture dacavcosta  路  3Comments

alex-piccione picture alex-piccione  路  4Comments

Godrules500 picture Godrules500  路  4Comments

edwolfe807 picture edwolfe807  路  3Comments

DjSunrise picture DjSunrise  路  3Comments