gd-bs 6.6.50 → 6.6.51
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.
|
@@ -718,10 +718,18 @@ var _Dropdown = /** @class */ (function (_super) {
|
|
|
718
718
|
this._items[ddl.selectedIndex].toggle();
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
|
-
// See if
|
|
722
|
-
if (
|
|
723
|
-
//
|
|
724
|
-
|
|
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) {
|