cloud-ide-element 1.0.26 → 1.0.27
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.
|
@@ -563,7 +563,10 @@ class CideInputComponent {
|
|
|
563
563
|
/** @description when form control change from model side this method is implemented */
|
|
564
564
|
writeValue(value) {
|
|
565
565
|
if (!this.isNgModel) {
|
|
566
|
-
|
|
566
|
+
let ngModel = this.autoCapitalizeByOption(value, this.type);
|
|
567
|
+
if (this.type === 'date') {
|
|
568
|
+
ngModel = this.processValue(ngModel, this.type);
|
|
569
|
+
}
|
|
567
570
|
console.log('writeValue', this.ngModel, ngModel);
|
|
568
571
|
this.ngModel = ngModel;
|
|
569
572
|
}
|