Skip to content

fix(GlDisclosureDropdown): Set unique key id for items

What does this MR do?

We were using the item.text as GlDisclosureDropdownItem key in v-for iteration. But the text prop might not be unique. Which caused duplicate key issue #2187 (closed). So we're using lodash's uniqueId now to generate unique key

Screenshot_2023-04-14_at_20.11.17

Closes #2187 (closed)

Edited by Olena Horal-Koretska

Merge request reports

Loading