You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MVUX][ListState] Add support for UpdateSelectedItem or non-KeyEquatable<T> types containd in a ListState! #3010
Provide possibility to Update the Current Selected Item(s) with a UpdateSelectedItem(s)Async(
Also for simple types that do NOT implement IKeyEquatable<T>!!!
Regular record types of course too
Best case would be, if this IKeyEquatable<T> Limitation would not at all be existing for UpdateItemAsync!
Why is this needed:
A Viewer of my MVUX tutorials asked me to do a simple Tutorial for how we can:
Select a Item of a ListState<string>
Update this Item with the new Value
We tryed for about 2-3 hours because this is not possible to be used with a non IKeyEquatable<T> implementing type, like string!
From Consumer Side, it's absolute non-sense to always have to create a dedicated Record Type just to use Mvux or else we seem to be confronted with such errors!
Another reason why we would need this: What if the IKeyEquatable would match more then the ones selected? We would unintentionally update those too.
Activity