I have the Scheduler's AllowUpdate property bound to a boolean property Timesheet.IsEditable.
Expected behavior:
When Timesheet.IsEditable is changed to "false," a user cannot drag and drop an entry.
Observed behavior:
When Timesheet.IsEditable is changed to "false," a user CAN drag and drop an entry.
The workaround I'm using currently is
private async Task UpdateEntry(SchedulerUpdateEventArgs args)
{
if (!Timesheet.IsEditable) return;
// do actual business logic here
}
but this seems cludgy, and results in bad UX - the scheduler still looks as they it will allow the user to drag and drop and entry.
I also have AllowCreate and AllowDelete bound to this same property, and they both behave as expected when Timesheet.IsEditable is toggled.
Is this a bug? Or is there something I'm overlooking?
Thanks,
Andrew