Skip to content
Verified Commit 06326e89 authored by Mark Florian's avatar Mark Florian
Browse files

fix(GlDisclosureDropdown): Ensure default ID is unique

As it was, all instances of this component which don't have toggleId
passed explicitly would share the same id, since the default was
evaluated at script import time, rather than component instance
initialisation.

This was initially implemented in
gitlab-org/gitlab-ui!3254, then
reverted in
gitlab-org/gitlab-ui!3244. This
re-adds the change.
parent f0caed82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment