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

		
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
Roar
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