Posted 9 March 2020, 8:41 pm EST
I have upgraded to the latest version 646 of Wijmo in order to use it with Angular 9 Ivy. However, wj-input-date is broken with null value, even when isRequired is false.
Example:
<wj-input-date [value]="null" [isRequired]="false"></wj-input-date>
Runtime error:
[i]ERROR ** Assertion failed in Wijmo: Date expected. Error
at assert (http://localhost:4200/vendor.js:62317:10879)
at asDate (http://localhost:4200/vendor.js:62317:11698)
at WjInputDate.set [as value] (http://localhost:4200/vendor.js:62159:103412)
at setInputsForProperty (http://localhost:4200/vendor.js:18986:35)
at elementPropertyInternal (http://localhost:4200/vendor.js:17801:9)
at Module.ɵɵproperty (http://localhost:4200/vendor.js:25895:9)
at AppComponent_Template (http://localhost:4200/main.js:417:65)
at executeTemplate (http://localhost:4200/vendor.js:17340:9)
at refreshView (http://localhost:4200/vendor.js:17187:13)
at refreshComponent (http://localhost:4200/vendor.js:18627:9)
defaultErrorLogger @ core.js:5871[/i]
I can’t even open a ticket for the support because of javascript error at: https://supportone.componentone.com/newcase