@abgov/angular-components 4.9.1-dev.3 → 4.9.1-next.1
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.
|
@@ -1621,6 +1621,9 @@ class GoabDatePicker extends GoabControlValueAccessor {
|
|
|
1621
1621
|
this.isReady = true;
|
|
1622
1622
|
this.cdr.detectChanges();
|
|
1623
1623
|
}, 0);
|
|
1624
|
+
if (this.value && typeof this.value !== "string") {
|
|
1625
|
+
console.warn("Using a `Date` type for value is deprecated. Instead use a string of the format `yyyy-mm-dd`");
|
|
1626
|
+
}
|
|
1624
1627
|
}
|
|
1625
1628
|
setDisabledState(isDisabled) {
|
|
1626
1629
|
this.disabled = isDisabled;
|