You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yii2 and this package support short syntax for data/aria attributes ('data' => ['suffix' => '...', 'suffix2' => '...']), but don't have methods to merge attributes using long syntax (['data-suffix' => '...']) with short syntax (['data' => ['suffix' => '...']]). This package uses both syntaxes, which only increases the chance of making error.
@simialbi already - yiisoft/yii2#19100 , but need fix attributes in this package too. Replace long syntax (['data-suffix' => '...']) to short syntax (['data' => ['suffix' => '...']]).
What steps will reproduce the problem?
Yii2 and this package support short syntax for data/aria attributes (
'data' => ['suffix' => '...', 'suffix2' => '...']
), but don't have methods to merge attributes using long syntax (['data-suffix' => '...']
) with short syntax (['data' => ['suffix' => '...']]
). This package uses both syntaxes, which only increases the chance of making error.Two lines from single method:
yii2-bootstrap5/src/Modal.php
Line 292 in 97a3b65
yii2-bootstrap5/src/Modal.php
Line 302 in 97a3b65
Fix
I see two solutions:
Additional info
The text was updated successfully, but these errors were encountered: