Commit 90de181d authored by Elias Villiger's avatar Elias Villiger
Browse files

Feature #5403 - Pill Tooltip

parent fef1a122
Pipeline #700 passed with stage
in 1 minute and 45 seconds
......@@ -2380,6 +2380,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];
......
Supports Markdown
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