cloud-ide-element 1.1.17 → 1.1.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.
@@ -963,6 +963,7 @@ class CideInputComponent {
963
963
  }
964
964
  else if (this.type == 'datetime-local') {
965
965
  if (typeof (value) == 'string' && value) {
966
+ console.log(value, "value, datetime-local, isControlValid");
966
967
  // Validate datetime-local format and parse
967
968
  const datetimeRegex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/;
968
969
  if (!datetimeRegex.test(value)) {
@@ -1000,6 +1001,7 @@ class CideInputComponent {
1000
1001
  validation_status.validation.required = `Datetime is required!`;
1001
1002
  }
1002
1003
  }
1004
+ console.log(validation_status, "validation_status, isControlValid");
1003
1005
  this.isValid = !validation_status.status;
1004
1006
  this.errorText = Object.values(validation_status.validation).at(0) || '';
1005
1007
  return validation_status;