gd-sprest-bs 10.2.6 → 10.2.7

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.
@@ -892,6 +892,12 @@ exports.ListForm.renderEditForm = function (props) {
892
892
  }
893
893
  // Validate the form field and update the status flag
894
894
  var controlIsValid = formField.isValid();
895
+ // See if there is a custom method
896
+ if (formField.controlProps.onValidate) {
897
+ // Call the event
898
+ controlIsValid = formField.controlProps.onValidate(formField.controlProps, formField.getValue());
899
+ }
900
+ // Update the flag
895
901
  isValid = isValid && controlIsValid;
896
902
  }
897
903
  // Parse the custom controls