gd-bs 6.6.50 → 6.6.52

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.
@@ -71,7 +71,7 @@ var _Card = /** @class */ (function (_super) {
71
71
  // Set the click event
72
72
  body.el.addEventListener("click", function (ev) {
73
73
  // Execute the event
74
- _this.props.onClick(body.props);
74
+ _this.props.onClick(body.props, ev);
75
75
  });
76
76
  }
77
77
  // See if there is a render event
@@ -718,10 +718,18 @@ var _Dropdown = /** @class */ (function (_super) {
718
718
  this._items[ddl.selectedIndex].toggle();
719
719
  }
720
720
  }
721
- // See if no value is selected and the label exists
722
- if (value == null && this.props.label) {
723
- // Set the label
724
- this.setLabel(this.props.label);
721
+ // See if we are updating the label
722
+ if (this.props.updateLabel) {
723
+ // See if a value exists
724
+ if (value) {
725
+ // Set the label
726
+ this.setLabel(value);
727
+ }
728
+ // Else, see if label exists
729
+ else if (this.props.label) {
730
+ // Set the label
731
+ this.setLabel(this.props.label);
732
+ }
725
733
  }
726
734
  // See if a change event exists
727
735
  if (this._initFl && this.props.onChange) {