cloud-ide-element 1.1.16 → 1.1.18
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)) {
|