Closed Sally-Xu closed 9 years ago
Please submit a PR with a reproducible test.
I found the reason for this: there is no converter for DateTime type in the nullstone.convertAnyToType function, only a converter for Date type.
export function convertAnyToType (val: any, type: Function): any {
var converter: (val: any) => any = (
Not sure how to fix this because DateTime is defined in Fayde, nullstone certainly doesn't know this type.
Converters can be registered through nullstone.registerTypeConverter(<type>, <converter>)
.
Implemented in v0.16.42.
Sample XAML:
The SelectedDate is still a string type after the control is loaded. It should be in DateTime type.