Skip to content

Commit 44baf17

Browse files
fedets-sprykerMaksym Fedets
andauthored
SUPESC-1040: Update dropdown toggle attribute from data-toggle to data-bs-toggle. (#166)
Co-authored-by: Maksym Fedets <[email protected]>
1 parent 8131c85 commit 44baf17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spryker/Zed/Gui/Communication/Plugin/Twig/Buttons/ButtonGroupUrlGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function generate()
5656
$optionParams = $this->getOptionsParam();
5757

5858
$html = sprintf(
59-
'<div class="btn-group"><button data-toggle="dropdown" class="btn btn-sm btn-outline %s dropdown-toggle" aria-expanded="true" %s>%s%s <span class="caret"></span></button>',
59+
'<div class="btn-group"><button data-bs-toggle="dropdown" class="btn btn-sm btn-outline %s dropdown-toggle" aria-expanded="true" %s>%s%s <span class="caret"></span></button>',
6060
$class,
6161
$optionParams,
6262
$icon,

0 commit comments

Comments
 (0)