Last Updated: 13 Oct 2016 06:53 by Roar
Stefan Nenchev
Created on: 29 Sep 2016 10:02
Category: DataForm
Type: Bug Report
Triggering validation when DataForm is emtpy causes an exception

1 comment
Posted on: 11 Oct 2016 12:25
I'm getting this with UI for WPF R3 2016. It was not a problem with an earlier version (Q1 2016). A workaround I found is to implement a DataFormCommandProvider and override the AddNew method. There I added a "dummy" item to the ItemsSource collection before calling base.AddNew(), and then removing it again afterwards. I don't like this workaround very much, so a proper fix would be nice