Tooltips are enabled in UI, at admin/appearance/settings/mytheme:

  • Enable tooltips is checked.
  • Convert simple form descriptions is checked.
  • Trigger is set to "hover" and "focus"

In mytheme.info, tooltips are enabled:

 scripts[] = 'bootstrap/js/tooltip.js'

Form descriptions are present in the form element wrapper:

<div class="form-type-textfield form-item-myfield form-item form-group" data-toggle="tooltip" title="" data-original-title="Some form element description.">
  <label for="edit-myfield">My field </label>
 <input class="form-control form-text" type="text" id="edit-myfield" name="myfield" value="" size="60" maxlength="128">
</div>

But the tooltip is not working.

Is there something that I missed?

Comments

claudiu.cristea’s picture

Title: Tooltips not showing form element description » Form element descriptions not showing as tooltips
claudiu.cristea’s picture

Issue summary: View changes
markhalliwell’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not entirely sure it wouldn't be showing up. It's definitely being processed as evident by the data-original-title being set. Would it maybe have anything to do with the JS engine halting? Maybe #2162165: Anchor JS errors: "Cannot read property 'top' of null" and "Cannot call method 'createDocumentFragment' of null" fixed this too?

markhalliwell’s picture