Element description position overridden by Bootstrap

Created on 22 May 2018, almost 7 years ago
Updated 26 January 2023, about 2 years ago

Problem/Motivation

Bootstrap themes have an op[tion to use 'smart descriptions' by default which causes field descriptions to be rendered as tooltips. In order to prevent an element being rendered as a smart description, the element must have #smart_description set to FALSE.

Using Webform with a Bootstrap theme with smart descriptions set as default means that the description is always rendered as a tooltip regardless of the settings on the field within webform.

Proposed resolution

The logical place to change this behaviour is the webform_bootstrap module. The value for '#smart_description' should be set to FALSE if the description display is set to 'before' or 'after'.

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇬🇧United Kingdom alanhdev

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.

Production build 0.71.5 2024