@simpleangularcontrols/sac-common 10.0.0-rc.18 → 10.0.0-rc.19

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.
@@ -7279,6 +7279,12 @@
7279
7279
  */
7280
7280
  SacBaseDateTimeControl.prototype.validateData = function (c) {
7281
7281
  var error = null;
7282
+ if (this.valuestring !== null && this.valuestring.indexOf('_') >= 0) {
7283
+ error = CreateValidationError('invalidtype', this.validationmessagedatetimeformat, this.validationmessagedatetimeformatsummary);
7284
+ if (error) {
7285
+ return error;
7286
+ }
7287
+ }
7282
7288
  error = Validation.isValidDate(this.validationmessagedatetimeformat, this.validationmessagedatetimeformatsummary)(c);
7283
7289
  if (this.isrequired) {
7284
7290
  error = Validation.required(this.validationmessagerequired, this.validationmessagerequiredsummary)(c);