@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.
- package/bundles/simpleangularcontrols-sac-common.umd.js +6 -0
- package/bundles/simpleangularcontrols-sac-common.umd.js.map +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js.map +1 -1
- package/esm2015/common/basedatetimecontrol.js +8 -1
- package/fesm2015/simpleangularcontrols-sac-common.js +6 -0
- package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
- package/package.json +1 -1
- package/simpleangularcontrols-sac-common-10.0.0-rc.19.tgz +0 -0
- package/simpleangularcontrols-sac-common.metadata.json +1 -1
- package/simpleangularcontrols-sac-common-10.0.0-rc.18.tgz +0 -0
|
@@ -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);
|