gd-bs 6.6.11 → 6.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.6.11",
3
+ "version": "6.6.12",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -411,12 +411,13 @@ class _Dropdown extends Base<IDropdownProps> implements IDropdown {
411
411
  // Parse the current values
412
412
  for (let i = 0; i < currentValues.length; i++) {
413
413
  let currentValue = currentValues[i];
414
- let currentItem:IDropdownItem = { };
414
+ let currentItem: IDropdownItem = {};
415
415
 
416
416
  // See if this is a string
417
417
  if (typeof (currentValue) == "string") {
418
- // Set the text property
418
+ // Set the text and value properties
419
419
  currentItem.text = currentValue;
420
+ currentItem.value = currentValue;
420
421
  } else {
421
422
  // Set the item
422
423
  currentItem = currentValue;