-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return errors as ObservableCollection<object> #362
Comments
I will show the proposed changes the next week |
That makes sense. I am open other ways to handle validation errors. I am interested to see the proposed change. |
The user is free to expose "errors" (just like any other data) via a |
In the suggested / proposed change is, would Elmish.WPF continue to use |
Continue |
@xperiandri, the animation I saw in UWP with addition/removal from an What would the animation look like if the unkeyed (aka merge that doesn't use IDs) were used? Can you record that animation would look like and share it here in a comment as an animated GIF? |
Do you want me to record it with your merge algorithm? |
Yes, that would be preferred. Maybe you could record the animation for both algorithms so that the difference is clear to us. |
When doing validation with https://github.com/lfr/FSharp.Domain.Validation or https://github.com/JamesRandall/AccidentalFish.FSharp.Validation you can have mo than one error per property.
UWP does not have native support of
INotifayDataErrorInfo
so that we created our control that displays errors viaItemsControl
which prefersObservableCollection
asItemsSource
I think that validation errors must be returned similar to
Binding.oneWaySeq
where you can set comparers and merge new errors seq into old errors and update UI (ItemsControl
) accordingly.The text was updated successfully, but these errors were encountered: