Skip to content

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

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

Open
codingdna2 opened this issue Jul 26, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@codingdna2
Copy link
Contributor

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
Copy link
Contributor Author

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

@dishantmshah
Copy link
Contributor

dishantmshah commented Aug 8, 2018

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

@marb2000 marb2000 added the bug Something isn't working label Aug 6, 2019
@KBaluh
Copy link
Contributor

KBaluh commented Nov 6, 2019

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 in CustomerViewModel and load before set Item.
I confirm that bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants