RadDataForm Switch not updating boolean


#1

I have the following for definition:

<RadDataForm [source]="notificationSetting" (propertyCommit)="dfPropertyCommit($event)" (propertyCommitted)="dfPropertyCommitted($event)">
    <TKEntityProperty tkDataFormProperty name="enabled" displayName="Enable Reminder" index="0">
        <TKPropertyEditor tkEntityPropertyEditor type="Switch"></TKPropertyEditor>
    </TKEntityProperty>
    <TKEntityProperty tkDataFormProperty name="time" displayName="Remind at:" index="1">
        <TKPropertyEditor tkEntityPropertyEditor type="TimePicker"></TKPropertyEditor>
    </TKEntityProperty>
</RadDataForm>

A simple class:

export class NotificationSetting {
    constructor(public enabled: boolean, public time: string) {}
}

The time is being updated just fine, but the boolean remains unchanged no matter what I do on the Android emulator. Any suggestions?


#2

Issue filed here: https://github.com/telerik/nativescript-ui-feedback/issues/625