Selectors to disable form tool tip not working

Created on 5 October 2018, over 6 years ago
Updated 4 July 2024, 11 months ago

When I input selectors in the field they do not work. Our selectors are on the form-item not on the description item making it impossible to find.

πŸ“Œ Task
Status

Needs work

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States jonathanwestman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    I was able to ignore vertical tabs with .vertical-tabs .description

    If it has to target .description, that could be added to the docs. I had to fiddle around a bit to see any results.

  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    The patch is now quite different than the line it applies to, and I think it's no longer relevant.

    https://git.drupalcode.org/project/formtips/-/blob/8.x-1.x/js/formtips.j...

    var $descriptions = $('.form-item .description,.form-item__description,.form-item .filter-guidelines,.fieldset__description')
      .not(selectors)
      .not('.formtips-processed');
    

    However, I am still having some issues. I'm getting a formtips wrapping vertical tabs, and my fix above disables all tips, not just on fields inside the vertical tabs.

Production build 0.71.5 2024