cloud-ide-element 1.1.15 → 1.1.16

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.
@@ -843,6 +843,7 @@ class CideInputComponent {
843
843
  else if (type == 'datetime-local') {
844
844
  if (typeof (value) == 'string') {
845
845
  if (value?.length > 0) {
846
+ console.log(value, "value, datetime-local");
846
847
  // Validate datetime-local format (YYYY-MM-DDTHH:mm:ss or YYYY-MM-DDTHH:mm)
847
848
  const datetimeRegex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2})?$/;
848
849
  return datetimeRegex.test(value) && !isNaN(Date.parse(value));