5👍
✅
From Bootstrap 5’s migration guide:
BREAKING: Data attributes for all JavaScript plugins are now namespaced to help distinguish Bootstrap functionality from third parties and your own code. For example, we use data-bs-toggle instead of data-toggle.
Please see further information about migration on the Bootstrap website.
Source:stackexchange.com