Closed MichalTichy closed 6 months ago
I guess it is caused because the binding accessing the Dictionary is evaluated before the items get in the collection.
I think all JS methods on Dictionary should not throw any exceptions and should do null propagation instead.
Agreed, we should avoid throwing exception in most client-side translations. We can then use the same translation for LINQ First
and FirstOrDefault
, and similar cases
Hi,
During postback we are filling collection and in the same request additional metadata are stored for all items inside dictionary.
Unfortunately the binding that retrieves metadata from dictionary fails during render of new items.
-
With following fix everything works fine.