Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ const initializeTooltip = (tooltipNode, hasEllipsisStyle) => {
const placement = tooltipNode.dataset.tooltipPlacement ?? defaultPlacement;
const trigger = tooltipNode.dataset.tooltipTrigger ?? defaultTrigger;
const useHtml = tooltipNode.dataset.tooltipUseHtml !== undefined;
const offset = tooltipNode.dataset.tooltipOffset ? JSON.parse(tooltipNode.dataset.tooltipOffset) : undefined;
const container = getContainer(tooltipNode);
const iframe = document.querySelector(tooltipNode.dataset.tooltipIframeSelector);

Expand All @@ -172,6 +173,7 @@ const initializeTooltip = (tooltipNode, hasEllipsisStyle) => {
popperConfig: modifyPopperConfig.bind(null, iframe),
html: useHtml,
template: defaultTemplate(extraClass),
...(offset && { offset }),
});

if (isSafari()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ public static function getDataForTestFormSubmitValidation(): iterable
['{{ value }}' => 'foo'],
'children[limitation_type]'
),
new FormErrorDataTestWrapper(
'The selected choice is invalid.',
['{{ value }}' => 'foo'],
'children[limitation_type]'
),
],
];

Expand Down
Loading