Commit 3a6bbc5a authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge branch '5403-pill-tooltip' into 'master'

Feature #5403 - Pill Tooltip

See merge request !62
parents 1c59a11d 90de181d
Pipeline #767 passed with stage
in 1 minute and 42 seconds
......@@ -2382,6 +2382,7 @@ Type: pill (tab)
* *modeSql*:
* *type*: *pill*
* *feIdContainer*: `0` - Pill's can't be nested.
* *tooltip*: Optional tooltip on hover. Especially helpful if the pill is set to *readonly*.
* *parameter*:
* *maxVisiblePill*: `<nr>` - Number of Pill-Buttons shown. Undefined means unlimited. Excess Pill buttons will be
......
......@@ -501,6 +501,7 @@ class BuildFormBootstrap extends AbstractBuildForm {
}
$attributeLi .= Support::doAttribute(HTML_ATTR_ID, $htmlIdLi);
$attributeLi .= Support::doAttribute( 'title', $formElement[FE_TOOLTIP]);
$attributeLiA .= Support::doAttribute(HTML_ATTR_ID, $htmlIdLiA);
$a = Support::wrapTag("<a $attributeLiA" . Support::doAttribute('href', $hrefTarget) . ">", $formElement[FE_LABEL]);
$json[$htmlFormElementName][API_ELEMENT_UPDATE][$htmlIdLiA][API_ELEMENT_CONTENT] = $formElement[FE_LABEL];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment