Skip to content
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

Business Pack ComboBox does not display selected value after the Repeater/GridView’s DataSource is changed #638

Closed
vstribrny opened this issue Aug 21, 2018 · 3 comments

Comments

@vstribrny
Copy link

There is a bp:ComboBox in dot:Repeater. When I change a Repeater's DataSource (using Static Command Service), the selected value in ComboBox disappears.

Framework's dot:ComboBox works as expected in the same scenario.

See repro here: https://github.com/vstribrny/DotVVM-issues-repro/tree/master/src/BpGridViewAndMarkupControl. Just change "DataSource" ComboBox to "DataSource 2". Interesting is that the correct behavior can be reproduced when you select "Clear Items" first before changing to "Data Source 2".

@martinbojnansky
Copy link

@vstribrny Thank you for your report. We've identified the issue and it will be fixed in the next release of BusinessPack controls.

@martinbojnansky
Copy link

@vstribrny You can temporarily fix the issue by using a higher alphabet name of the SelectedValue property than the name of the DataSource property. For example: use "Number" and "SelectedNumber".

@quigamdev
Copy link
Contributor

Fix for this issue should be already released. If the issue persists feel free to reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants