InventorySample icon indicating copy to clipboard operation
InventorySample copied to clipboard

FormCombobox is empty on the first load of the view (CustomersView/OrdersView)

Open codingdna2 opened this issue 7 years ago • 3 comments

Repro steps

As soon as the program opens, switch to Customers view (or Orders view). The detail panel on the bottom right shows the Country combo box empty. As soon as a different record is selected, the issue disappears.

image

System

Visual Studio 2017 Windows 10 Build 1803

codingdna2 avatar Jul 26 '18 10:07 codingdna2

As a workaround, I found that changing the SelectedValue binding, from {x:Bind} to {Binding} fixes the issue. I've no idea why...

codingdna2 avatar Jul 26 '18 12:07 codingdna2

The issue seems to be appearing while running an App only in Debug mode.

dishantmshah avatar Aug 08 '18 05:08 dishantmshah

It's appear when you didn't load dictinaries before set Item. At the current momen we binding to LookupTableProxy, but better to make IList<T> in CustomerViewModel and load before set Item. I confirm that bug.

KBaluh avatar Nov 06 '19 13:11 KBaluh