gd-bs 6.8.3 → 6.8.4
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.
|
@@ -707,6 +707,11 @@ var FormControl = /** @class */ (function () {
|
|
|
707
707
|
// Set the flag
|
|
708
708
|
validation.isValid = value;
|
|
709
709
|
}
|
|
710
|
+
// Else, see if this is a dropdown and ensure it has a value
|
|
711
|
+
else if (this._ddl && value) {
|
|
712
|
+
// Set the flag to ensure a text/value exists
|
|
713
|
+
validation.isValid = value.text || value.value ? true : false;
|
|
714
|
+
}
|
|
710
715
|
}
|
|
711
716
|
// See if an event exists
|
|
712
717
|
if (this._props.onValidate) {
|