gd-sprest-bs 10.3.8 → 10.3.9

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.
@@ -249,6 +249,20 @@ var Field = function (props) {
249
249
  }
250
250
  // Set the items
251
251
  controlProps.items = items;
252
+ // Set the base validation
253
+ baseValidation = function (ctrl, result) {
254
+ // See if a value exists
255
+ if (result.value) {
256
+ var ddlItem = result.value;
257
+ // See if the text and value don't exist
258
+ if (ddlItem.value || ddlItem.text ? false : true) {
259
+ // Set the flag
260
+ result.isValid = false;
261
+ }
262
+ }
263
+ // Return the result
264
+ return result;
265
+ };
252
266
  break;
253
267
  // Currency Field
254
268
  case gd_sprest_1.SPTypes.FieldType.Currency: