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.
package/package.json
CHANGED
|
@@ -743,10 +743,18 @@ class _Dropdown extends Base<IDropdownProps> implements IDropdown {
|
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
745
|
|
|
746
|
-
// See if
|
|
747
|
-
if (
|
|
748
|
-
//
|
|
749
|
-
|
|
746
|
+
// See if we are updating the label
|
|
747
|
+
if (this.props.updateLabel) {
|
|
748
|
+
// See if a value exists
|
|
749
|
+
if (value) {
|
|
750
|
+
// Set the label
|
|
751
|
+
this.setLabel(value);
|
|
752
|
+
}
|
|
753
|
+
// Else, see if label exists
|
|
754
|
+
else if (this.props.label) {
|
|
755
|
+
// Set the label
|
|
756
|
+
this.setLabel(this.props.label);
|
|
757
|
+
}
|
|
750
758
|
}
|
|
751
759
|
|
|
752
760
|
// See if a change event exists
|